+ 1
Create a code using string containg doubble quote
it is something like that and I can't find the answer >>>(" ") please help me to solve this problemđđ˘
3 Answers
+ 2
Hello,
What you're trying to do is put special characters in a string. You just need to "escape" the special characters of the string, and this is done with a backslash in python (and most languages) e.g. :
print("just use backslash to escape the quotes \"\" ")
You can find many more examples of escaping characters if you look a bit around Internet.
Does this answer your question ?
+ 1
>>> print(" \"\" ")
0
you can also use single quotes instead like this- 'i can âhelp you" bro' or by using triple quotes '''i can "help you" bro'''.