Advertisement
julianarm

Untitled

Jun 25th, 2020
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. menu="""digite una opcion
  2. 1.
  3. 2."""
  4. print("menu")
  5. opc=int(input())
  6. g=float(input("digite temperatura"))
  7. if opc is 1:
  8.     ñ=5/9(g-32)
  9.     print=("temperatura en celsius,ñ")
  10. if opc is 2:
  11.     z=32+9*g/5
  12.     print("temperatura en fahrenheit,z")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement