Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
Write a program ask height in cm and then convert it to feet and inches. 1 foot =12 inches ,1inches =2.54 cm.
2 Answers
0
Please show your attempt!
0
foot = int(input())
def convert():
print(foot*12)
convert()