Hello all! Hope to be a very active nad productive member here as I learn. Currently in a python class and have a problem to solve. Not quite sure where my mistake is.... I am to put the inputs in the main function pass to the processing function and call processing function in the main. Here is where I am....
# Define main and inputs ^.^
def main():
#call inputs
inputs()
#get the math
hw_to_bmi(weight, height)
def inputs():
weight = float(input('Enter weight in pounds: '))
height = float(input('Enter height in inches: '))
def hw_to_bmi(weight, height):
bmi = (weight / (height * height)) * 703
print('Your BMI is .2f' % bmi)
main ()