How to input float in BMI calculator,like I coded Height=int(input()) but it's not working. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to input float in BMI calculator,like I coded Height=int(input()) but it's not working.

27th Apr 2021, 2:52 PM
Vaibhav Tiwari
3 Answers
+ 3
Vishal Tiwari Very simple float (input())
27th Apr 2021, 10:31 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar
+ 2
float(input())
27th Apr 2021, 2:58 PM
TOLUENE
TOLUENE - avatar
0
Thanks
27th Apr 2021, 3:21 PM
Vaibhav Tiwari