How to convert ton to kg using python

    Ton = int(input("Ton:- "))
    To_kg = 907*Ton
    print(Ton,"Ton = ",To_kg,"Kg")
    print("Ton's must be number")

Here is what the above code is Doing:
1. It takes input from the user in the form of Ton.
2. Then it converts the Ton into Kg.
3. Then it prints the result.
4. If the user enters anything other than a number, it will print an error message.