+ 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 Answer
+ 1
You can use '\' symbol before any such character. For e.g. :
>>> print("Hello \"Jenevieve\" ")
>>> print("Hello \'Myself\' ")