Commit aa38bce5 by BellCodeEditor

save project

parent d06176f5
......@@ -6,6 +6,6 @@ screen.bgcolor("black")
colors["red","orange","yellow","rgeen"]
for i in range(1,300):
pen.forward(i)
pen.right(i%4)
pen.hideturtle(91)
pen.pencolor(colour[i%4])
pen.right(91)
turtle.done()
\ No newline at end of file
username = "python"
userpassword = "123456"
while True:
name = input("请输入用户名:")
password = input("请输入密码:")
if name == username and password == userpassword:
print("登录成功!")
break
elif name != username
print("顺丰到付")
else:
print("用户名和密码错误!请重新输入")
print("欢迎来到贝尔编程!")
\ No newline at end of file
qwe = float(input('请输入体重'))
rty = float(input('请输入身高'))
QWE = qwe/(rty)**2
if QWE >=28:
print('肥胖')
elif QWE <=18.4:
print('偏瘦')
elif QWE >=18.5 and QWE<=23.9:
print('正常')
elif QWE >=24.0 and QWE<=27.9:
print("偏重")
num=7
guess = int(input("请你输入数字"))
if guess==num:
print('恭喜你,猜对了')
elif guess >num:
print('猜大了')
else:
print('猜小了')
++ "b/mjq.py/\347\201\214\347\201\214\347\201\214\347\201\214GV.py"
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