Ascii Typer
AZRIELGIESWEIN (20)

An ascii typer.
(Version [1.8][Now with Secret Mode])

You are viewing a single comment. View All
TacoCode (4)

Great ASCII typer, but...


You could improve the design to use a dictionary instead of manually doing if letter == "some letter":. This would improve code readness, complexity, and file size.
You can just do:

for letter in user:
    try:
        for i in len(letters[letter]()):
            output[i] += letters.get(letter)[i]
    except:
        print("Invalid caracter '{}'".format(letter))

Where the list letters is something like this:

letters = {
    " " = ['       ', '       ', '       ', '       ', '       ', '       '],
    "!" = ['  ||   ','  ||   ','  ||   ','  \/   ','       ','  []   '],
    ...
}

You can see an example of this here