Python: Printing ASCII Art Problems
<p>I'm attempting to print a piece of ASCII art in Python. I'm aware there are options such as ASCIImatics, but for my first milestone I'm just trying to get this piece to display properly in the terminal.
This presents some issues to be addressed:
-I want to make it possible to modify the contents of the lines, and I read that to do that lists must be used instead of regular strings.
-With the way print statements are structured in Python, I find it trickier to get the characters of a line to print on the same line. I read this requires the format
    print(line1[x], end=" ")</p>

<p>I'm still having trouble getting a loop to print my work properly. Although the lines print properly with regular print statements, adding the new formatting messes up the arrangement of the characters.</p>

<p>Here's something that looks like my code:</p>

<pre><code>line0 = list("     ----    ")
line1 = list("    $$$$$$   ")
line2 = list("   !=!=!=!=  ")

for num in range(1,13):
    print(line0[num], end=" ")
    print(line1[num], end=" ")
    print(line2[num], end=" ")
</code></pre>

<p>I want it to print essentially as you see it in the code, but the spacing is wrong.
I suspect the</p>

<pre><code>end=" "
</code></pre>

<p>parts don't work because I have to print spaces. What should I do?</p>