Zhouyao's Blog

Do Something Big With Us

Code Theme Test

  1. birth = input(‘birth: ‘)
  2. if birth < 2000:
  3. print(’00前’)
  4. else:
  5. print(’00后’)

 

height = 1.75
weight = 80.5
h = pow(height,2)
bmi = weight/h
if bmi<18.5:
    print('Too Thin')
elif 18.5<bmi<25:
    print("Normal")
elif 25<bmi<28:
    print('Too Heavy')
elif 28<bmi<32:
    print("Fat")
elif 32<bmi:
    print("Too Fat")

 

 

点赞

发表评论

电子邮件地址不会被公开。 必填项已用*标注

88 − = 78

This site uses Akismet to reduce spam. Learn how your comment data is processed.