[Tutor] String formating

Stayvoid stayvoid at gmail.com
Thu Dec 15 23:52:26 CET 2011


Hey folks!

What's the difference between these commands?

print "%02d" % (12)

print "%d" % (12)

I know that "d" stands for decimal. What does "02" mean?


Cheers!


More information about the Tutor mailing list