Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

bellcode / lesson2-5_DIY1

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit aa8704e9 authored 3 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent ed858d46
Show whitespace changes
Inline Side-by-side
Showing with 13 additions and 22 deletions
  • 132.py
132.py
View file @ aa8704e9
i=3
username = "python"
userpassword = "123456"
while True: import turtle
if i>0: pen=turtle.Pen()
name=input("请输入账号") distance=1
name2=input("密码") for i in range(300):
i-=1 pen.forward(distance)
if name==username and name2==userpassword: right(91)
print("成功") distance+=1
break pen.right(121)
elif name != username: pen.hireturtle()
print("账号错误") turtle.done()
print("温馨提示你还有"+str(i)+"机会")
else:
print("密码错误")
print("温馨提示你还有"+str(i)+"机会")
else:
print("账户锁定,请来我这解决")
exit()
print("欢迎来到贝儿")
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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