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
a06db665
authored
Jul 16, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
9f342a77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
22 deletions
diy1.py
diy1.py
View file @
a06db665
i
=
3
zhanghao
=
"***"
mima
=
"3.14159268"
while
True
:
if
i
>
0
:
zhang
=
input
(
"请你输入账号:"
)
mi
=
input
(
"请你输入密码:"
)
i
-=
1
if
zhanghao
==
zhang
and
mi
==
mima
:
print
(
"登陆成功"
)
break
if
zhanghao
!=
zhang
:
print
(
"用户不存在,重新输入你个***居然连自己账号都忘了:"
)
print
(
"还剩"
+
str
(
i
)
+
"次机会!"
)
continue
if
mima
!=
mi
:
print
(
"密码错误,重新输入你个***居然连自己密码都忘了:"
)
else
:
print
(
"妈的想他妈盗号没门,你以为我是傻逼啊!没智商,你个***给我滚!"
)
exit
()
print
(
"欢迎来到***世界!"
)
\ No newline at end of file
for
s
in
range
(
1
,
10
):
for
b
in
range
(
s
,
10
):
print
(
b
,
"*"
,
s
,
"="
,
s
*
b
,
end
=
" "
)
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