why don't you need /" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why don't you need /"

in print('print("print")') or whatever the example exactly was.

27th Jul 2016, 4:33 PM
William Wimberly
William Wimberly - avatar
2 Answers
+ 3
We can use either single quotes for whole and use as many double quotes we like... Eg. print('she said"i love u".he said "but i do not.."') . OR use double quotes for whole and use as many single quotes we like... Eg. print("I'm in love with someone else...but she's not into me..") . OR if you have double quoted for all and you need to use double quotes in the program use \" Eg. print("I yelled why god why.. \"bcoz u are a douche\", god replied")
28th Jul 2016, 7:56 AM
Prashant Shahi
Prashant Shahi - avatar
0
the output of this program is actually : print("print") so what exactly what's your problem?
28th Jul 2016, 4:53 AM
Erlangga Ibrahim
Erlangga Ibrahim - avatar