+ 2
What is the problem
Pmi calculator https://code.sololearn.com/c5mL6pKk6sCN/?ref=app
19 Respostas
+ 4
output must be capitalized (first letter uppercase)...
also, your else statement is unuseful, as never reached...
+ 4
The problem in line 4 bro
+ 4
BTW it's BMI (Body Mass Index)
Also, what if BMI == 30?
Also btw, welcome to SoloLearn! š
+ 3
also: height is a string... but must me converted to a float (as you convert weight to int)
+ 3
Yes but how
+ 3
as you convert weight to int:
height = float(input())
+ 2
Thanks bro wish u the best
+ 2
Ok i will try
+ 1
jovany William your last elif must test for x >= 30, David Ashton is right ;)
+ 1
in fact, you could remove your last 'else' and replace last 'elif' with just 'else' (without condition)
+ 1
you could also shorter all your 'elif' by just testing for x lesser than upper bound ;P
+ 1
The best one
+ 1
visph thank you
0
We know thanks btw
It will print ("obesity")
- 2
Bonjour
- 2
as a cable tv operator i want to upgrade my customer the ability to subscribe to our channel of the choice and upgrade to a different path based on the president a customer has a certain balance in his or her account and wishes to subscribe to a sudden the channel should get added to the list of software journey for the customary customer might also wish to upgrade an existing channel
- 2
Code??
- 2
Hi