Commit 0fdc0172 by BellCodeEditor

save project

parent aac5b64a
Showing with 3 additions and 1 deletions
...@@ -5,6 +5,7 @@ while True: ...@@ -5,6 +5,7 @@ while True:
if i>0 if i>0
name = input("请输入用户名:") name = input("请输入用户名:")
password = input("请输入密码:") password = input("请输入密码:")
i-=1
if name == username and password == userpassword: if name == username and password == userpassword:
print("登录成功!") print("登录成功!")
break break
...@@ -13,7 +14,8 @@ while True: ...@@ -13,7 +14,8 @@ while True:
if password!=userpassword: if password!=userpassword:
print("盗号要认真") print("盗号要认真")
else: else:
print("") print("不能用啦!!!气死你!气死你!")
exit()
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light pink") screen.bgcolor("light pink")
......
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