zipcode = input('Enter a zipcode: ')
list_bars = (':::||', '::|:|', '::||:', ':|::|', ':|:|:', ':||::', '|:::|',
    '|::|:', '|:|::', '||:::')
for i in zipcode:
    pass
How to test each specific digit or character