Python program for conversion of height from cm to inches
Answers
Answered by
0
Answer:
# Python program to convert centimeter to feet and
# Inches Function to perform conversion
def Conversion(centi):
inch = 0.3937 * centi
feet = 0.0328 * centi
print ("Inches is:", round(inch, 2))
print ("Feet is:", round(feet, 2))
# Driver Code
centi = 10
Conversion(centi)
Answered by
0
Answer:
Python program for conversion of height from cm to inches
Explanation:
# Python program to convert centimeter to feet and
# Inches Function to perform conversion
def Conversion(centi):
inch = 0.3937 * centi
feet = 0.0328 * centi
print ("Inches is:", round(inch, 2))
print ("Feet is:", round(feet, 2))
centi = 10
Conversion(centi)
Similar questions