Similarly,
print 'The value of PI is approximately {}.'.format(math.pi)
should be
print 'The value of PI is approximately {0}.'.format(math.pi)
--
Martin Feuchtwanger, PhD martinf at underhill.ca 604-732-3384 x 206
Underhill Geomatics Ltd. www.underhill.ca
210A, 3430 Brighton Ave. Burnaby, BC V5A 3H4