• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Why is the output always 'Underweight'

The BMI calculator https://code.sololearn.com/cRX6eUUKt3Y9/?ref=app

pythonbeginnerhelpaskcommunityintroductionforpython
24th Oct 2022, 12:10 AM
Yecine Ben Rhouma
Yecine Ben Rhouma - avatar
1 Answer
+ 4
Yecine Ben rhouma your input prompts are reversed. Get weight first, then height and all will be well.
24th Oct 2022, 3:25 AM
Brian
Brian - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Need suggestions on buying Laptop..
2 Votes
About learning Languages as a beginner
1 Votes
Does java support default parameter value?
2 Votes
Win32 API
2 Votes
Do Sololearn have courses for Ruby?
2 Votes
is there plans for python frameworks? more complex learning paths.
1 Votes
Confused why code coach failed this, please help 🙏đŸ„ș
1 Votes
:D
0 Votes
Star ⭐ on my profile
0 Votes
Risoluzione riempimento esercizio
1 Votes