- 10

Some one help me to solve this please.....

Solve the problem

7th Jun 2021, 2:36 AM
Md Ismail
Md Ismail - avatar
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.
7th Jun 2021, 3:10 AM
David Ashton
David Ashton - avatar
+ 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.
7th Jun 2021, 4:54 AM
David Ashton
David Ashton - avatar
+ 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.
7th Jun 2021, 3:56 AM
David Ashton
David Ashton - avatar
+ 1
Sorry there was connection problem so the question was multiple time posted.....
7th Jun 2021, 3:40 AM
Md Ismail
Md Ismail - avatar
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
7th Jun 2021, 3:42 AM
Md Ismail
Md Ismail - avatar
0
Please solve this
7th Jun 2021, 3:42 AM
Md Ismail
Md Ismail - avatar
0
7th Jun 2021, 3:43 AM
Md Ismail
Md Ismail - avatar
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")
7th Jun 2021, 4:19 AM
Md Ismail
Md Ismail - avatar
0
It's says wrong index... It should be 'or' instead of 'and'....
7th Jun 2021, 4:33 AM
Md Ismail
Md Ismail - avatar
0
What is indention
7th Jun 2021, 4:34 AM
Md Ismail
Md Ismail - avatar
- 1
Please reply fast as soon as possible
7th Jun 2021, 4:36 AM
Md Ismail
Md Ismail - avatar
- 2
Martin it was easy to crack 93% ....
7th Jun 2021, 9:36 AM
Md Ismail
Md Ismail - avatar