Advertisement
jjdeharo

grados

Apr 22nd, 2020
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. def kelvinfreit(c):
  2.   k = c + 273
  3.   return k
  4. def fahrenheitte(c):
  5.   c= 9*c/5 + 32
  6.   return c
  7.  
  8. c = float(input("c="))
  9. k= kelvinfreit(c)
  10. c= fahrenheitte(c)
  11.  
  12.  
  13. print("kelvin=" , k )
  14. print("fahrenheit=", c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement