Created
September 24, 2022 15:41
-
-
Save saaeiddev/c0686710e347c25ba674364861437f50 to your computer and use it in GitHub Desktop.
health2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = "amir saeid" | |
age = 18 | |
weight = 80.88 | |
print(weight) | |
print(age) | |
name = str(input("please enter your name : ")) | |
print("welcome" + name + "!") | |
age = int(input("please enter your age : ")) | |
if age < 18: | |
print("young") | |
elif age > 18: | |
print("adult") | |
else: | |
print("please enter your age") | |
weight = float(input("please enter your weight : ")) | |
if weight > 70: | |
print(weight , "little fat") | |
elif weight < 70: | |
print(weight , "thing") | |
else: | |
print("please enter your weight") | |
height = float(input("please enter your height : ")) | |
if height > 180: | |
print(height) | |
print("tall") | |
elif height < 175: | |
print(height) | |
print("litte short") | |
elif height > 176: | |
print(height) | |
print("good") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment