Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson4_4
This project
Loading...
Sign in
Toggle navigation
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
e9aa27bd
authored
Apr 20, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
2805917c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
账号、密码,确认.py
账号、密码,确认.py
View file @
e9aa27bd
usern
ame
=
"python"
# 保存在服务器数据库中的用户账号(正确的账号)
usern
ame
=
"python"
# 保存在服务器数据库中的用户账号(正确的账号)
...
@@ -11,7 +11,7 @@ while True:
...
@@ -11,7 +11,7 @@ while True:
if
a
!=
username
:
if
a
!=
username
:
print
(
"账号错误"
)
print
(
"账号错误"
)
continue
continue
if
b
=
=
userpassword
:
if
b
!
=
userpassword
:
print
(
"密码错误"
)
print
(
"密码错误"
)
print
(
"欢迎来到贝尔编程!"
)
print
(
"欢迎来到贝尔编程!"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment