Oct-10-2017, 03:44 PM
name = ( input ('what is your name? ')) height = float( input ("What is your bodys height in meters?")) weight = float( input ("what is the weight of your body in kilograms?")) print( name "body mass index is: " round(weight / (height * height), 2))hi i am trying to create a BMI calculator that collects the users name and then collects the users weight and height in order to calculate the users BMI however i am getting a syntax error on the last line:
print( name "body mass index is: " round(weight / (height * height), 2))for some reason the last quote is the issue
can someone please help