FastFoodCoding

Login


Connect with one of the following accounts





Login

Please wait while we redirect...

Views: 51   



Following program shows you how to convert millimeters into centimeters.
In this program we get millimeters from user, once we get those we need to divide with 10 so that we get in centimeters

millimeters = float(input("Please enter millimeters:"))
centimeters = millimeters / 10
print(centimeters, " Centimeters")

Output:

Please enter millimeters: 300
30.0  Centimeters



On By


Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News