Advertisement
julianarm

Untitled

Jun 25th, 2020
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. menu"""elegir una unidad de medida
  2. 1 metro
  3. 2 gramos"""
  4. print("menu")
  5. opc=int(input())
  6. kg=int(input("digite un numero en kg"))
  7. if opc is 1:
  8.     met=kg*1.000
  9.     print=("valor en metros:,met")
  10. if opc is 2:
  11.     cm=kg*100.000
  12.     print("valor en cm:,cm")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement