The while statement, printing a table

import math

print 'degrees\tfraction (m/m)'
slopeDegrees = 0.0
while slopeDegrees < 30.0:
  slopeRadians=(slopeDegrees/360)*2*math.pi
  slopeFraction=math.tan(slopeRadians)
  print slopeDegrees, '\t', slopeFraction
  slopeDegrees=slopeDegrees+5.0

will print:

degrees fraction (m/m)
0.0     0.0
5.0     0.0874886635259
10.0    0.176326980708
15.0    0.267949192431
20.0    0.363970234266
25.0    0.466307658155