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
84021d9f
authored
Jan 09, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
b810c294
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
sdashiduh.py
sdashiduh.py
0 → 100644
View file @
84021d9f
username
=
"python"
userpassword
=
"python"
i
=
0
while
True
:
if
i
<
3
:
name
=
input
(
"快输入用户名啊:"
)
password
=
input
(
"快输入密码啊:"
)
if
name
==
username
and
password
==
userpassword
:
print
(
"登陆成功你个傻逼"
)
break
else
:
if
name
!=
username
:
print
(
"账号错了,实在垃圾"
)
print
(
"注意点"
+
str
(
i
)
+
"天之内杀了你"
)
else
:
print
(
"密码错了,你还是个垃圾"
)
print
(
"注意点"
+
str
(
i
)
+
"天之内杀了你"
)
i
=
i
+
1
else
:
print
(
"你输那么多次都不对,你真是个傻逼"
)
exit
()
print
(
"欢迎来到我也不知道"
)
\ 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