Jul-08-2018, 03:38 PM
You used this: print("Realf:'Shar, what ride you wanna go on after we eat?'"
When it should be this: print("Realf:\'Shar, what ride you wanna go on after we eat?\'")
There is a missing parentheses at the end of the string, and the backslashes (\) before the single quotes (') are necessary. Otherwise, Python thinks the string ends when it hasn't finished yet.
When it should be this: print("Realf:\'Shar, what ride you wanna go on after we eat?\'")
There is a missing parentheses at the end of the string, and the backslashes (\) before the single quotes (') are necessary. Otherwise, Python thinks the string ends when it hasn't finished yet.