double qoutes in python3 | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

double qoutes in python3

how to print string having double qoutes

17th Feb 2019, 7:19 AM
Newera Aman
Newera Aman - avatar
1 ответ
+ 6
You can use the backslash escape character inside a double quotes string: print("An \"apple\" is a type of fruit"); Or use double quotes inside a string quoted string: print('An "apple" is a type of fruit');
17th Feb 2019, 7:30 AM
LynTon
LynTon - avatar