#giant_letters.py #vertical or horizontal marquee giant_letters = {'A':[" █ "," ▐ ▌ "," █▄█ ","█ █","█ █"], 'B':["████▄","█ █","█████","█ █","████▀"], 'C':["▄███▄","█ █","█ ","█ █","▀███▀"], 'D':["████▄","█ █","█ █","█ █","████▀"], 'E':["█████","█ ","████ ","█ ","█████"], 'F':["█████","█ ","████ ","█ ","█ "], 'G':["▄███▄","█ ","█ ██","█ █","▀███▀"], 'H':["█ █","█ █","█████","█ █","█ █"], 'I':["█████"," █ "," █ "," █ ","█████"], 'J':["█████"," █ "," █ ","▄ █ ","███ "], 'K':["█ █","█ █ ","███ ","█ █ ","█ █"], 'L':["█ ","█ ","█ ","█ ","█████"], 'M':["█ █","█▐ ▌█","█ ▀ █","█ █","█ █"], 'N':["█ █","██ █","█ █ █","█ ██","█ █"], 'O':["▄███▄","█ █","█ █","█ █","▀███▀"], 'P':["████▄","█ █","█████","█ ","█ "], 'Q':["▄███▄","█ █","█ █","█ ██","▀███▀"], 'R':["████▄","█ █","█████","█ █ ","█ █"], 'S':["█████","█ "," ███ "," █","█████"], 'T':["█████"," █ "," █ "," █ "," █ "], 'U':["█ █","█ █","█ █","█ █","█████"], 'V':["█ █","█ █"," █ █ "," █ █ "," █ "], 'W':["█ █","█ █","█ ▀ █","█▐ ▌█","█ █"], 'X':["█ █"," █ █ "," █ "," █ █ ","█ █"], 'Y':["█ █"," █ █ "," █ "," █ "," █ "], 'Z':["█████"," █ "," █ "," █ ","█████"]} v_or_h = input("[v]rtical or [h]orizontal marquee? ").lower() #msg = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" msg = input("Enter your message: ").upper() if v_or_h == 'v': for c in msg: if c in giant_letters: for row in giant_letters.get(c): print(row) print() else: for row in range(5): for c in msg: if c in giant_letters: r = giant_letters.get(c)[row] print(r,end=" ") print()