0
What is the diference of " " and ' ' ?
7 Respuestas
+ 6
... and in single quotes you can use double quote inside a string
mystring = 'don\'t worry about "quotes"...'
As you can guess, in each you can escape characters ^^
+ 5
to my knowledge, there isn't any.
I could be wrong though
+ 3
None... in Python.
+ 2
@Kenyatta Madison wrote:
" This was asked and answered already https://www.sololearn.com/Discuss/192760 "
As almost question asked... but it's good to be said, to not forgot that a minimal search effort is useful and appreciate, even if SoloLearn Q&A Discussions features for that purpose are absolutly lackful :P
+ 1
Both are used for strings and with double quotes you can use single quote inside a string
mystring = "Don't worry about apostrophes"
- 4
" " is a string, ' ' is a character