+ 1

Why are we using single and double quotes in python?

27th Sep 2016, 1:06 PM
Akash Pandey
Akash Pandey - avatar
4 odpowiedzi
+ 2
its preference. there is no technical difference.
27th Sep 2016, 3:28 PM
Mythos
+ 1
Quotes are used to designate that the inside value is a string of characters. Like when we are about to ask for some value to the user and all
27th Sep 2016, 1:19 PM
Sounak Das
Sounak Das - avatar
+ 1
Single or Double quotes are used to declare a text a string. If that is not done, Interpreter will think of it as a some type of command and try to execute it, giving syntax error, causing fault in your program.
27th Sep 2016, 4:59 PM
Shamir
0
bhh
27th Sep 2016, 6:51 PM
hhgnyhh