Computer Science, asked by Tejbhan89, 11 months ago

Python program for conversion of height from cm to inches

Answers

Answered by charlie1505
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 sushiladevi4418
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