What is the deference between using format() function and using these %s , %d ... | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

What is the deference between using format() function and using these %s , %d ...

print ('{0}'.format('a')) . . print ('%s' % ('b')) ?

12th May 2021, 8:19 PM
Safou Abderrahim
Safou Abderrahim - avatar
2 Antworten