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!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответов
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