0
Whats the difference between string with single quote and string with dual quote
3 odpowiedzi
+ 2
+ 1
In Python, nothing. either work for strings.
in other languages double (" ") is for Strings and single (' ') is for Chars.. good habit to get into.
that said, in Python you can use them inside each other to have an output with a quote in it. for example...
sentence= "The dog said 'bark bark' and it was annoying"