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 Answer
+ 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