FastFoodCoding

Login


Connect with one of the following accounts





Login

Please wait while we redirect...

Views: 73   



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

centimeters = int(input("Please enter centimeters:"))
millimeters = centimeters * 10
print(millimeters, " Millimeters")

Output:

Please enter centimeters: 20
200  Millimeters



On By


Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News