0

What is a double quote

I don't understand what the difference between a single quote and a double quote

13th Sep 2018, 3:13 PM
James
2 ответов
+ 2
Single quote - ' Double quote - " In Py it doesn't really matter which one do you use, but in other languages using the wrong quotes could cause an error.
13th Sep 2018, 3:19 PM
Tim Thuma
Tim Thuma - avatar
0
You can use single or double inverted comma's to create string .but if you want to do tricks with your String then you can try both. e.g= x=('"Hi"') print(x) output="Hi" because "" is also a string here.
13th Sep 2018, 4:16 PM
Maninder $ingh
Maninder $ingh - avatar