+ 1
In python while using print command what difference ' ' and " " makes?
print(' ') and print(" ") difference?
6 Antworten
+ 3
While there's no difference in the ability to output, if you ever wanted your output to involve quotation marks (i.e. Donald said "hello")
Then using both would make this possible. Having ' ' as your initial marks and using " " over the quoted part. These are recognised individually.
+ 2
Your welcome 😃
0
In python there is no different between those.
#Zen of python
Special cases aren't special enough to break the rules.
0
Thanks brother
0
✌
0
Thank you😊