print('------------------') # table heading F = 0 dF = 10 # increment of C in loop while F <= 100: # loop heading with condition C = (F-32) * 5/9 print(f"{F:3d} {C:2.2f}") # 2nd statement inside loop F = F + dF # last statement inside loop print('------------------') # end of table line """ Terminal> python f2c_table_while.py ------------------ 0 -17.78 10 -12.22 20 -6.67 30 -1.11 40 4.44 50 10.00 60 15.56 70 21.11 80 26.67 90 32.22 100 37.78 ------------------ """