Skip to content

Refactor BMI calculation and error handling#1

Open
tanishq234 wants to merge 1 commit intomainfrom
tanishq234-patch-1
Open

Refactor BMI calculation and error handling#1
tanishq234 wants to merge 1 commit intomainfrom
tanishq234-patch-1

Conversation

@tanishq234
Copy link
Owner

@tanishq234 tanishq234 commented Dec 17, 2025

Fix errors in BMI calculation and improve input validation.

Type of change

  • Added new project
  • Bug fix
  • New features
  • Enhanced documentation

Changes proposed in this pull request

  • Project name : BMI Calculator

  • Short description : Refactored BMI calculation logic and added validation for invalid height and weight inputs to prevent incorrect results.

Checklist

  • The code is Python 3 compatible
  • I have added relevant comments in my file to make code understandable
  • I have added my project in a folder which includes all the necessary files

Fix errors in BMI calculation and improve input validation.
@tanishq234
Copy link
Owner Author

Hello, I’ve made a small improvement to the BMI calculation by adding input validation and cleaning up the error handling.
Please let me know if you’d like any changes. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant