0

Difference ' with " in Python

Hello, what is the difference between the two, which one should we use ?! Which is better to use? ' , "

17th Jan 2022, 7:29 AM
Amir
3 Antworten
+ 6
Nothing, you can use whatever you want print('Amirreza') print("Karimi")
17th Jan 2022, 7:44 AM
Simba
Simba - avatar
+ 1
print(type('hello')) print(type("hello")) Output: <class 'str'> <class 'str'> They are the same.
17th Jan 2022, 6:47 PM
Brian
Brian - avatar