Can any one explain please "" vs ''?


Cant understand hope you guys can help me out

like “String” vs ‘String’ what the difference “” and ‘’ ??

Thanks in Advance


It’s your preference.

Unless you’re using Smart Quotes on your mac, then it isn’t registered as a string with the apostrophe.

Otherwise, they’re the same thing.

By your mac I assumed you were using a mac because it looks like the apostrophes formatted with a Mac’s smart quote format.


Thank you so much, It’s nice that Python gives you choices :smiley:


As far as I know, almost all languages support either or for strings. Just note that if you open with ’ you need to close with ’ and vice versa.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.