+ 1
How to form a double quoted string?
When you're given->>>"__"
4 Respuestas
+ 2
Umm... Just put double quote symbols and your string inbetween them, like so:
"Hello World"
If you want a string that itself contains double quote characters, you can border the string with single quotes so double quotes count as a part of it:
'What is "Python"?'
Or you can escape them with a backslash:
"What is \"Python\"?"
The last two are just the same.
+ 2
"\" " done....
0
The easiest and the simplest is to use triple quotes.
That is """your text""" or ''' your text'''.
If you want double quotes in the string use the '''your text'''' notation. And if you want single quote in your string use """your text""" notation.
In this case use '''your text''' notation.
So, you can use ''' "__" ''' to display "_"
0
42