16 lines
234 B
Python
16 lines
234 B
Python
|
|
|
|
def bmi_test(bmi):
|
|
if bmi < 18.5:
|
|
print('You\'d better eat more!')
|
|
elif bmi < 24:
|
|
print('Good job!')
|
|
else:
|
|
print('You\'d better to some exercises')
|
|
|
|
|
|
|
|
bmi_test(20)
|
|
|
|
# multiple statement
|
|
# multiple |