""" Exercise 2.2 from "A primer on... Small modification of Ex. 2.1. We print out approximate C values in addition to the F and C values. """ F = 0 dF = 10 while F <= 100: C = (F - 32) * 5 / 9 C_approx = (F - 30) / 2 print(f"{F:5d} {C:6.2f} {C_approx:6.2f}") F = F + dF """ Terminal> python f2c_approx_table.py 0 -17.78 -15.00 10 -12.22 -10.00 20 -6.67 -5.00 30 -1.11 0.00 40 4.44 5.00 50 10.00 10.00 60 15.56 15.00 70 21.11 20.00 80 26.67 25.00 90 32.22 30.00 100 37.78 35.00 """