We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3feb73 commit 6da92a9Copy full SHA for 6da92a9
bmr.py
@@ -1,14 +1,9 @@
1
# Basal Metabolic Rate Calculator
2
3
-
4
5
-def takeInputs():
6
- weight = int(input("Enter your weight in KG: \n"))
7
- height = int(input("Enter your height in cm: \n"))
8
- age = int(input("Enter your age in years: \n"))
9
- isMale = str(input("Are you male? (y/n)"))
10
11
-takeInputs()
+weight = int(input("Enter your weight in KG: \n"))
+height = int(input("Enter your height in cm: \n"))
+age = int(input("Enter your age in years: \n"))
+isMale = str(input("Are you male? (y/n)"))
12
13
if isMale == "y":
14
isMale = True
0 commit comments