how to convert ton to kg using python

Solutions on MaxInterview for how to convert ton to kg using python by the best coders in the world

showing results for - "how to convert ton to kg using python"
Elva
26 Jun 2016
1try:
2    Ton = int(input("Ton:- "))
3    To_kg = 907*Ton
4    print(Ton,"Ton = ",To_kg,"Kg")
5except:
6    print("Ton's must be number")