+ 1
When do you use double quotes and single quotes?
5 Respostas
+ 3
Though both are permitted in Python, but it's more wise to use " " , because it supports to use apostrophe ( ' ) with a word.For example -print("John\'s book") >>> John's book
+ 1
It depends on programming language.
+ 1
python is the language iam learning
+ 1
So there is no difference.
/Edit
I have seen that people closing one word(string) in single quotes and text in double quotes. Example:
print 'Poland'
print "Poland is great country!"
But it is not necessary.
0
you have to be smart if you want to pass and read your book to knowledge