Difference bwtween these two formatting
python-class-05
bihan
(Bihan Banerjee)
August 12, 2021, 11:46am
#1
a = 1
whats the difference between these two :
‘{}’.format(a)
‘{:d}’.format(a)