Answers for "how to convert kg to g using python"

1

how to convert kg to g using python

try:
    Kg = int(input("kg:- "))
    To_gram = 1000*Kg
    print(Kg,"Kg = ",To_gram,"G")
except:
    print("Mile's must be number")
Posted by: Guest on September-02-2021

Code answers related to "how to convert kg to g using python"

Python Answers by Framework

Browse Popular Code Answers by Language