double qoutes in python3 | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

double qoutes in python3

how to print string having double qoutes

17th Feb 2019, 7:19 AM
Newera Aman
Newera Aman - avatar
1 Respuesta
+ 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