5 lines
90 B
Python

celsius = [10, 15, 20, 25, 30]
for c in celsius:
print("%dC = %dF" %(c, (c*1.8)+32))