Commit 3c945e9e by BellCodeEditor

save project

parent 98695936
Showing with 43 additions and 1 deletions
i=-1
while i<5:
i+=1
if i==3:
continue
print(i)
\ No newline at end of file
import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
pen.turtle
turtle.done()
\ No newline at end of file
i=10000
username="python"
userpassword="123456"
while True:
if i>0:
name=input("名字:")
password=input("密码:")
i-=1
if name==username and password==userpassword:
print("登录成功")
break
if name != username:
print("名字错误")
print("您还有"+str(i)+"次登录机会")
continue
if password != userpassword:
print("密码错误")
print("您还有"+str(i)+"次登录机会")
else:
print("账号被冻结")
exit()
print("欢迎来到贝尔编程")
\ No newline at end of file
i=3
username="别他妈动 "
userpassword="54188 14524"
userpassword="54188 14524 "
while True:
if i>0:
name=input("名字:")
password=input("密码:")
i-=i
if name==username and password==userpassword:
print("成功!")
break
......@@ -11,4 +14,6 @@ while True:
continue
if password != userpassword:
print("password从输:")
else:
print("滚!明天再来")
print("真棒")
\ 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