""" Exercise 2.1 from "A primer on... Very small conversion of the example c2f_table_while.py from the lecture. Instead of starting with C values and computing F values, we want to start with F and compute C values. """ F = 0 dF = 10 while F <= 100: C = (F - 32) * 5 / 9 print(f"{F:5d} {C:2.2f}") F = F + dF