+ 1

If i want to print ' this symbol how can i use this symbol in prit syntax

6th Feb 2018, 8:03 PM
AAVEG NAGWAN
AAVEG NAGWAN - avatar
2 Answers
+ 10
print(" \' ") Backslash does all the magic.
6th Feb 2018, 8:10 PM
Tim Thuma
Tim Thuma - avatar
+ 1
print("'") works, because ' is not ". you don't need the \ in this case
6th Feb 2018, 9:55 PM
Amaras A
Amaras A - avatar