Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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")
 
PREVIOUS NEXT
Tagged: #convert #kg #python
ADD COMMENT
Topic
Name
3+4 =