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

bellcode / lesson3-1-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
Switch branch/tag
  • lesson3-1-1_DIY1
  • asdfgh.py
Find file
BlameHistoryPermalink
  • BellCodeEditor's avatar
    save project · e619b157
    BellCodeEditor committed 3 years ago
    e619b157
asdfgh.py 431 Bytes
Edit
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
name="python"
zhanghao="123456"
while True:
    name1=input("请输入账号")
    zhanghao2=input("请输入密码")
    if name==name1 and zhanghao==zhanghao2:
        print("登录成功")
        break
    if name!=name1:
       input("账号错误请重新输入")
       continue
    if zhanghao2!=zhanghao:
       input("密码错误请重新输入")
print("欢迎来到贝尔编程世界?")