+ 3
>>>" "pls anyone complete this code to produce a double quote string?
Py
6 Antworten
+ 4
you should give us a better undertanding of what you are asking. please sow us also what you have coded for this task so far.
+ 4
Here a sample in python that works:
print('hello \"pyhon\" ') # output: hello "pyhon"
or:
print("hello \"pyhon\" ") # output: hello "python"
+ 3
I have used backslash to escape the quotation marks it didn,t work
+ 2
"\"
+ 2
Thank you
+ 1
" " means empty string ; " with some characters " means not an empty string; >>> " " means to point out / get or read the string that you are trying to declare.
and I think with this, I hope you can find out the answer to your question.. Tagay!!!