Commit 53fb7ba8 by BellCodeEditor

auto save

parent cd066264
Showing with 25 additions and 0 deletions
import turtle
t=turtle.Pen()
for i in range(8):
for i in range(5):
t.forward(50)
t.right(72)
t.right(360/8)
turtle.done()
\ No newline at end of file
height = float(input('请输入您的身高:(m)'))
weight = float(input('请输入您的体重:(kg)'))
Bni=weight/(height*height)
if Bni<18.5:
print('您的Bni经过')
elif 18.5<=Bni<=23.9:
print('您的Bni正常')
elif 24<=Bni<26.9:
print('您的Bni过重')
elif 27<=Bni<32:
print('您的Bni肥胖')
elif Bni>32:
print('您的Bni非常肥胖')
print('您的Bni指数是{:.if})'.format((Bin))
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment