Jun-23-2019, 11:04 AM
im building a bmi calculator, very new to programming and i have this problem
[spoiler]
and lastly, the biggest problem is that i can't run my code. (line bmi=weigt/(heigt**2)...) i don't know why.
this is my first real (problem im trying to solve) help appreciated.
[spoiler]
[python][b]name = input("what's your name ") height = input ("what's your height " + name ) print (height) weight = input ("what's your weight" + name) print (weight) [color=#2ECC71]bmi = weight /(height**2)[/color] print(bmi)Problem:: when i write my input there is no space in between the input (exampel "what's your name?Joey tribbiani"
and lastly, the biggest problem is that i can't run my code. (line bmi=weigt/(heigt**2)...) i don't know why.
this is my first real (problem im trying to solve) help appreciated.