0

What is meaning of making double quote in python

25th Dec 2018, 4:59 PM
Arun Sharma
Arun Sharma - avatar
2 ответов
+ 6
Python does not differentiate between single quoted string and double quoted string, the two string below are considered valid string for example: name = "Andrey" friend = 'Boris' Your question is vague as you wrote "making double quote" perhaps you meant "Why use double quotes in Python string". But if I misunderstood your question then you tell me, okay : )
25th Dec 2018, 5:32 PM
Ipang
0
Double quotes is meant for strings and single quotes are meant for characters not only in python but with all programming languages.
25th Dec 2018, 8:50 PM
Adarsh.n. Bidari
Adarsh.n. Bidari - avatar