Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ASCII glyphs
- a = """
- .....#.....
- ....###....
- ...#####...
- ..### ###..
- .### ###.
- ###########
- ### ###
- ### ###
- ### ###
- """
- b = """
- ########..
- #########.
- ### ##.
- #########.
- #########.
- ### ##.
- ### ###
- ##########
- ##########
- """
- c = """
- ...#########
- ..#########.
- .####.......
- ####........
- ###.........
- ###.........
- .####.......
- ..#########.
- ...#########
- """
- # Define what characters there are
- letterrange = list("abc")
- letters = {}
- # (So don't have to manually put in a dictionary)
- # Dictionary where 'key' corresponds to the letter and 'value' the variable
- for i in letterrange:
- letters[i] = locals()[i]
- letters.update({i : letters[i].split('\n')})
- # The query that's being converted to ASCII glyphs
- query = list("bac") # not used yet
- scanlines = 11
- for i in range(scanlines):
- print ("".join("%s" % v[i] for v in letters.values()))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement