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

Administrator / lesson4_5

  • 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 e950c686 authored 3 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent ee68575e
Show whitespace changes
Inline Side-by-side
Showing with 7 additions and 0 deletions
  • diy2.py
diy2.py
View file @ e950c686
username = "无账号"
userpassword = "没密码"
i=3
while True:
name = input("请输入用户名:")
password = input("请输入密码:")
......@@ -10,7 +11,12 @@ while True:
if name != username:
print("大锅,你的账号输错了!给老子重输!")
i-=i
continue
if password != userpassword:
print("鸡汤锅,你的密码输错了,你要是不想喝鸡汤,就赶紧给老子重输!")
i-=i
continue
if i==0:
print("对不起,此服务器仅仅只有3次机会进入,且已发现您在暴力破解,现已封号!不要让我再看见你!")
exit()
\ 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