Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Convert Tonnes to quintals or kilograms
- #1 Tonne = 1000kg
- #1 Tonne = 10 quintals
- tonnes = float(input("Enter the value in tonnes: "))
- kg = (tonnes*1000)
- quintals = (tonnes*10)
- print("The value in kgs is: ",kg)
- print("The value in quintals is: ",quintals)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement