1 posts
Posted 06 April 2013 - 07:47 PM
Followed a tutorial to do this, but every time I run it, this happens. Please help?
This is the message it brings when i try to run it.
This is the actuall code of the program
515 posts
Location
Australia
Posted 06 April 2013 - 07:50 PM
\n is used as a string for a new line, and is unnecessary when using print since that automatically adds a new line, unless you're trying to do this
To Do List
Make flying rings...
Pump...
Try removing the \n or if that wasn't what you wanted, move the \n to be within the quotation marks
2088 posts
Location
South Africa
Posted 07 April 2013 - 12:09 AM
If you want to have a line between them, put the \n inside the quotation marks, at the end of the sentence.
1852 posts
Location
Sweden
Posted 07 April 2013 - 11:19 AM
And to show what these guys have been saying
print("To Do List \n")
print("Make flying rings for everyone \n")
print("Pump lava from volcano into tanks \n")
print("Cycle quarry for max effiency\n")
print("To be continued...")