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
d286ff3d
authored
Oct 23, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
8421c7cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
7 deletions
diy1.py
diy1.py
View file @
d286ff3d
i
=
3
username
=
"$"
username
=
"$"
userpassword
=
"
$
"
userpassword
=
"
¥
"
while
True
:
while
True
:
name
=
input
(
"($o$)"
)
if
i
>
0
:
password
=
input
(
"(^_^)"
)
name
=
input
(
"($o$)给点钱呗=>"
)
if
name
==
username
and
password
==
userpassword
:
password
=
input
(
"(^_^)再给点呗=>"
)
print
(
"嘿嘿嘿,请进$$$"
)
i
-=
1
break
if
name
==
username
and
password
==
userpassword
:
print
(
"操,滚"
)
print
(
"嘿嘿嘿,请进$$$"
)
break
if
name
!=
username
:
print
(
"你他妈给我美金"
)
print
(
"草泥马你他妈还有"
+
str
(
i
)
+
"次伺候你大爷我的机会"
)
continue
if
password
!=
userpassword
:
print
(
"你他妈给我人民币"
)
print
(
"草泥马你他妈还有"
+
str
(
i
)
+
"次伺候你大爷我的机会"
)
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