+ 1

Quotes in Python

Why does Python use three different types of quotes? What do they do?

18th Jan 2020, 6:25 PM
Tawsif Islam
3 Answers
18th Jan 2020, 6:38 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
It is basically meant for documentations and when they are used in string, they becomes docstrings
18th Jan 2020, 7:02 PM
Mirielle
Mirielle - avatar
0
You can use them to make a multiline comment
19th Jan 2020, 1:05 PM
Peter
Peter - avatar