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
  • cvzsdnhe.py
Find file
BlameHistoryPermalink
  • BellCodeEditor's avatar
    save project · 4565b5d5
    BellCodeEditor committed a year ago
    4565b5d5
cvzsdnhe.py 416 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13
Username = "python"
Userpassword = "123456"
while True:
    name = input("请输入用户名:")
    password = input("请输入密码")
    if name==Username and password==Userpassword:
        print("登陆成功")
        break
    elif password!=Userpassword:
        print("名字错误,重新输入") 
    elif password!=Userpassword:
        print("密码错误,重新输入")
print("ehjvryeut")