- 10
Some one help me to solve this please.....
Solve the problem
17 Answers
+ 5
Md Ismail don't post the same question multiple times. Just explain what you need to solve and show what you've tried so far.
+ 4
Md Ismail you have to write your code to match the question. The question says you have an input of two numbers from the user. You can't put your own numbers in the code.
The first input is weight as an integer. The second input is height as a float. You can start your code with
weight = int(input())
height = float(input())
Then you can do your math.
Make sure your output is exactly the way the question asks, otherwise it will be marked wrong. Watch your capital letters and spaces. If the question is expecting "Overweight", don't output "over weight".
Hope this helps.
+ 3
OK so far so good. Now please post your code here so we can look at it and make suggestions.
You can copy and paste it here, but much better would be if you saved your code in the Code Playground and posted a link to it here.
Press â and choose Insert Code, go to My Code Bits, click the code you want then Done.
+ 1
Sorry there was connection problem so the question was multiple time posted.....
0
Tracking your BMI is a useful way of checking if youâre maintaining a healthy weight. Itâs calculated using a person's weight and height, using this formula: weight / heightÂČ
The resulting number indicates one of the following categories:
Underweight = less than 18.5
Normal = more or equal to 18.5 and less than 25
Overweight = more or equal to 25 and less than 30
Obesity = 30 or more
Letâs make finding out your BMI quicker and easier, by creating a program that takes a person's weight and height as input and outputs the corresponding BMI category.
Sample Input
85
1.9
Sample Output
Normal
0
Please solve this
0
In python
0
weight=52
height=1.9
d=(height*height)
e=(weight/d)
if e<18.5:print("under weight")
elif e>18.5 & e<25:print("normal weight")
0
It's says wrong index... It should be 'or' instead of 'and'....
0
What is indention
- 1
Please reply fast as soon as possible
- 2
Martin it was easy to crack 93% ....