Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def kelvinfreit(c):
- k = c + 273
- return k
- def fahrenheitte(c):
- c= 9*c/5 + 32
- return c
- c = float(input("c="))
- k= kelvinfreit(c)
- c= fahrenheitte(c)
- print("kelvin=" , k )
- print("fahrenheit=", c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement