Complete the code to create a string containing a double quote. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Complete the code to create a string containing a double quote.

>>> " "

29th May 2018, 12:00 AM
Mahmoud Saad
Mahmoud Saad - avatar
1 Answer
0
my_str = ‘“No”, he said, “I am your father”’ Above, ‘ starts and ends the string object, and “ is just another character in that string. You can start strings with ‘ or “, but then you must end it the same way.
29th May 2018, 2:11 AM
Pedro Demingos
Pedro Demingos - avatar