Why "" are used in python


Please leave the following link in the post so we can find the unit module, else replace it with a link to the exact lesson:

Strings and Console Output


we can use both quotation marks (") and apostrophes (') to enclose a string.

Which to use is down to personally preference unless you know you need apostrophes within the string, then it makes more sense to enclose to the string in quotation marks so you don’t have to escape the apostrophes within the string.


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