0

why is this wrong? print("print("print")")

9th Jul 2016, 2:23 PM
Karthick M
Karthick M - avatar
2 Réponses
+ 5
string is bunch of characters between single or double quotes so python interpreter sees two strings with print( in between which confuses it.if you want to output print("print") , you should use single quotes around it.
9th Jul 2016, 2:46 PM
RedAnt
RedAnt - avatar
0
thank you!
9th Jul 2016, 3:58 PM
Karthick M
Karthick M - avatar