Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson4_1
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
e9ca8fea
authored
Oct 29, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
cd248a20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
11 deletions
diy1.py
diy1.py
View file @
e9ca8fea
i
=
3
zhanghao
=
"***"
zhanghao
=
"***"
mima
=
"3.14159268"
mima
=
"3.14159268"
while
True
:
while
True
:
zhang
=
input
(
"请你输入账号:"
)
if
i
>
0
:
mi
=
input
(
"请你输入密码:"
)
zhang
=
input
(
"请你输入账号:"
)
mi
=
input
(
"请你输入密码:"
)
if
zhanghao
==
zhang
and
mi
==
mima
:
i
-=
1
print
(
"登陆成功"
)
if
zhanghao
==
zhang
and
mi
==
mima
:
break
print
(
"登陆成功"
)
if
zhanghao
!=
zhang
:
print
(
"还剩"
+
str
(
i
)
+
"几次!"
)
print
(
"用户不存在,重新输入你个***:"
)
break
continue
if
zhanghao
!=
zhang
:
if
mima
!=
mi
:
print
(
"用户不存在,重新输入你个***居然连自己账号都忘了:"
)
print
(
"密码错误,重新输入你个***:"
)
continue
if
mima
!=
mi
:
print
(
"密码错误,重新输入你个***居然连自己密码都忘了:"
)
else
:
print
(
"妈的想他妈盗号没门,你以为我是傻逼啊!没智商,你个***给我滚!"
)
exit
()
print
(
"欢迎来到***世界!"
)
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