The circle of life
Python 2.5.1 (r251:54863, May 2 2007, 16:56:35)[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import math
>>> "%.2f" % (42/math.pi)
'13.37'
>>>
http://www.linoweb.net/?p=392
[Permalink] [By morphex] [Programming (Atom feed)] [12 Oct 20:28 Europe/Oslo]