Skip to content

BMI Calculator#544

Open
tm4rtin17 wants to merge 3 commits intowasmerio:mainfrom
tm4rtin17:BMI-Calculator
Open

BMI Calculator#544
tm4rtin17 wants to merge 3 commits intowasmerio:mainfrom
tm4rtin17:BMI-Calculator

Conversation

@tm4rtin17
Copy link

@tm4rtin17 tm4rtin17 commented Jan 30, 2026

#BMI Calculator

Summary

  • Added an interactive BMI Calculator script.

Description

Created an interactive script that serves as a BMI Calculator.

The changes are as follows:

  • Added BMI Calculator

Checks

in the repository

  • Made no changes that degrades the functioning of the repository
  • Gave each commit a better title (unlike updated README.md)

in the PR

  • Followed the format of the pull_request_template
  • Made the Pull Request in a small level (for the creator's wellfare)
  • Tested the changes you made

Thank You,

Thomas Martin

def list_all_expenses():
global connector, table
# Clears the current table display and reloads all records from the database
global connector, table
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not good practice to use global variables because its going to be hard to debug and mantain.

if you want you can pass it in the function parameters list_all_expenses(connector)

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.

2 participants