>>> from math import sqrt, pi >>> sqrt(9) 3.0 >>> radius = 5 >>> print 'circumference is %6f' % (2 * pi * radius) circumference is 31.415927