Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. print("Enter your height in m:",end='')
  2. x=float(input())
  3. print("Enter your weight in kg:",end='')
  4. y=float(input())
  5. print(f"Your BMI is {(y/(x*x)):0.2f}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement