# 1001.py def celsiusdafahrenheit (f): return (f-32)/1.8 def fahrenheitdacelsius (c): return 1.8*c+32 for f in (86,95,104): print f,celsiusdafahrenheit(f) print for c in (20,30,35,40): print c,fahrenheitdacelsius(c)