double qoutes in python3 | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

double qoutes in python3

how to print string having double qoutes

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