[Chennaipy] (no subject)

anitha ganesan anithagk12 at gmail.com
Wed Sep 20 12:25:51 EDT 2017


Hello,

I am Anitha Ganesan, I am beginner to python and i have a doubt.

What is the function of* %5.1f *and* %7.2f *in the below line.

print "%5.1 f %7.2f" %(fahrenheit,celsius)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chennaipy/attachments/20170920/5afd8447/attachment.html>


More information about the Chennaipy mailing list