Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson4_6
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
180ec79b
authored
Aug 01, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
dea6c74e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
5.py
6.py
5.py
View file @
180ec79b
...
@@ -10,11 +10,13 @@ while True:
...
@@ -10,11 +10,13 @@ while True:
print
(
"登录成功!"
)
print
(
"登录成功!"
)
break
break
if
name
!=
username
:
if
name
!=
username
:
print
(
"您输入的用户名错误请重新输入"
)
print
(
"您输入的用户名不正确请再次输入!"
)
print
(
"温馨提示:您还有 "
+
str
(
i
)
+
"次输入机会!"
)
continue
continue
if
password
!=
userpassword
:
if
password
!=
userpassword
:
print
(
"您输入的密码错误请重新输入"
)
print
(
"您输入的密码不正确请再次输入!"
)
print
(
"温馨提示:您还有 "
+
str
(
i
)
+
"次输入机会!"
)
else
:
else
:
print
(
"
账户已锁定
"
)
print
(
"
您的账号已被锁定,请携带证件来解锁!
"
)
exit
()
exit
()
print
(
"欢迎来到贝尔编程!"
)
print
(
"欢迎来到贝尔编程!"
)
\ No newline at end of file
6.py
0 → 100644
View file @
180ec79b
import
pen
pen
=
turte
\ No newline at end of file
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