If you want an easy way of putting ASCII art in your programs without going through the stress of putting this art in a string and escaping all the back slashes you can just read them from a text file like i do. It takes much less time.
there is one issue with this and that is that it leaves a line each time , stretching the art and giving it much less appeal , this is because you are printing each line but the way lines are encoded is with an invisible
"\n" which means extra line(if you print all the lines you will see)
so when the code iterates the next line is
\n and so leaving another line making it stretched to fix this just print the whole thing and forget the loop
ascii = open("art.txt", "r") asciiRead = ascii.read() print(asciiRead)
Bam and it's much better