BMI Calculator by tm4rtin17 · Pull Request #544 · wasmerio/Python-Scripts

@tm4rtin17

#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

yooung1

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

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)