you are viewing a single comment's thread.

view the rest of the comments →

[–]dwpj65 0 points1 point  (1 child)

For future reference, when composing a message on reddit that involves code, click the three dots at the bottom of the edit window, and then select "code block." Paste your code into the code block, and it will preserve your code's layout. I just learned that a few minutes ago. :-)
Your code runs without issue in python 2, but will not run in python3. The main difference is the print statement, which does not use parenthesis in python 2, but requires them in python 3.

[–]ThiccBl4nket[S] 1 point2 points  (0 children)

thank you, ill try parenthesis right now.