+ 1
Using an apostrophe in print code line
What do I do if the first character in the phrase I want to print is an apostrophe? example: >>>print (''Tis early')
1 Réponse
+ 1
You can use '\' symbol before any such character. For e.g. :
>>> print("Hello \"Jenevieve\" ")
>>> print("Hello \'Myself\' ")