How do I how do I create a string containing a double quotient in Python | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How do I how do I create a string containing a double quotient in Python

I've been stuck on this and don't understand the tutorial.

28th Jun 2017, 12:22 AM
Candle
1 Réponse
+ 1
wrap it inside single quotes -> 'he said: "do like this"'. or use double quotes and escape any other double inside your text -> "he said: \"do like this\""
28th Jun 2017, 12:29 AM
Mohamed Mohamedy
Mohamed Mohamedy - avatar