+ 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 ответов