# The simple conversion, with only a conversion type, is really easy to use:print 'Price of eggs: $%d' % 42print 'Hexadecimal price of eggs: %x' % 42from math import piprint 'Pi: %f...' % piprint 'Very inexact estimate of pi: %i' % piprint 'Using str: %s' % 42Lprint 'Using repr: %r' % 42L
Name (required)
email (will not be published) (required)
Website