Write a program ask height in cm and then convert it to feet and inches. 1 foot =12 inches ,1inches =2.54 cm. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a program ask height in cm and then convert it to feet and inches. 1 foot =12 inches ,1inches =2.54 cm.

24th Jul 2018, 12:39 PM
selvi
2 Answers
0
Please show your attempt!
24th Jul 2018, 6:18 PM
Kishalaya Saha
Kishalaya Saha - avatar
0
foot = int(input()) def convert(): print(foot*12) convert()
16th May 2022, 8:56 AM
Junior Jackson
Junior Jackson - avatar