cm to feet and inch code example
Example 1: cm to foot
1 cm = 0.032808399 foot
Example 2: cm to inch
1 cm = 0.3937 inch
Example 3: cm to foot
# 1 cm = 0.0328084 foot
# Divide the cm value by 30.48
def cm_to_foot(cm):
return cm/30.48
print(cm_to_foot(1)) # Result- 0.0328084