Like print(""hello"") output getting invalid syntax
4/10/2021 2:49:23 AM
you may only use either a pair of one single/double quotes or a pair of three single/double quotes.
if you put a text after two single/double quotes, the interpreter assumes that the text is outside of the quotes, and that's the invalid syntax.
if you need to display quotes, you could also use \
print(" \"mini muffin\" ")
Send us a message