Solution using functions without passing arguments
Solution using functions and by passing arguments
Solution : Without using function
Program/Source Code
Python program to convert total centimetre to meters and centimeter
cm=int(input("Enter total distance in cm ")) m=cm//100 cm=cm%100 print(m," m ",cm," cm")