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

bellcode / lesson3-5-1_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 6cd2f94c authored 10 months ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

auto save

parent b7315794 c115040l762p219a8067/wx818409
Hide whitespace changes
Inline Side-by-side
Showing with 0 additions and 24 deletions
  • a.py
a.py
View file @ 6cd2f94c
a="abc"
b="123"
i=3
while True:
if i>0:
c=input("名字:")
i-=1
if a!=c:
print("名字错误")
continue
print("还有"+i+"次")
d=input("密码:")
if a==c and b==d:
print("正常")
break
if b!=d:
print("密码错误")
print("还有"+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