ventilaar
/
twitter_zuil
Archived
1
Fork 0
This repository has been archived on 2021-06-10. You can view files and clone it, but cannot push or open issues or pull requests.
twitter_zuil/homework PROGA/pe_6_1.py

13 lines
181 B
Python

def convert(c):
f = c*1.8+32
return f
def table():
print('{:7} {}'.format('F', 'C'))
for i in range(-30, 50, 10):
print('{:7} {}'.format(str(convert(i)), str(i)))
table()