Commit 4eb41c4d by BellCodeEditor

save project

parent 81aa592d
Showing with 13 additions and 1 deletions
import turtle
import turtle
pen=turtle.Pen()
sb=1
for i in range(300)
pen.forward(sb)
pen.right(91)
sb=+1
\ No newline at end of file
i=3 i=3
...@@ -11,9 +11,11 @@ while True: ...@@ -11,9 +11,11 @@ while True:
break break
if a != usename: if a != usename:
print("账号登录失败") print("账号登录失败")
print("你还有"+str(i)+"次机会")
continue continue
if b != userpassword: if b != userpassword:
print("密码登录失败") print("密码登录失败")
print("你还有"+str(i)+"次机会")
else: else:
print("你的账号输入错误,你的钱没了") print("你的账号输入错误,你的钱没了")
exit() exit()
......
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