Is there any difference if i use double quotes in place of single quotes in print statement | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
- 3

Is there any difference if i use double quotes in place of single quotes in print statement

printf('hello') printf("hello") is it wrong???

3rd Nov 2017, 5:16 PM
VarunRaj Kancharla
VarunRaj Kancharla - avatar
4 Respuestas
+ 1
There is no difference whatsoever.
3rd Nov 2017, 5:32 PM
Amaras A
Amaras A - avatar
0
thank u
3rd Nov 2017, 6:01 PM
VarunRaj Kancharla
VarunRaj Kancharla - avatar
0
### and...there is nothing as printf in python its print only....
3rd Nov 2017, 7:42 PM
sayan chandra
sayan chandra - avatar
- 1
as of your question... there is difference in needs of those two. theres some reason for implementing both in python.. read the incode and output comments carefully.. https://code.sololearn.com/cnK7GbSZLglD/?ref=app
3rd Nov 2017, 7:41 PM
sayan chandra
sayan chandra - avatar