0

what's the difference between 'text' and ''text''? when should i put one ' and when more of them?

8th Sep 2016, 8:27 AM
Angist
2 ответов
+ 2
Single quotes (') and double quotes (") are equivalent in Python. Just make sure to use a pair of the same when declaring a string. Also, don't mistake double quotes (") for two single quotes in a row ('') like you are doing right now.
8th Sep 2016, 9:43 AM
Zen
Zen - avatar
+ 1
Single quotes and double quotes are same in Python.
5th Nov 2016, 7:10 AM
Akash A