If i want to print ' this symbol how can i use this symbol in prit syntax | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответов
+ 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