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.
|
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() |