Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- menu"""elegir una unidad de medida
- 1 metro
- 2 gramos"""
- print("menu")
- opc=int(input())
- kg=int(input("digite un numero en kg"))
- if opc is 1:
- met=kg*1.000
- print=("valor en metros:,met")
- if opc is 2:
- cm=kg*100.000
- print("valor en cm:,cm")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement