📜  如何使用python代码示例将kg转换为g

📅  最后修改于: 2022-03-11 14:47:12.241000             🧑  作者: Mango

代码示例1
try:
    Kg = int(input("kg:- "))
    To_gram = 1000*Kg
    print(Kg,"Kg = ",To_gram,"G")
except:
    print("Mile's must be number")