Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson4_4_2
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
2d644bbc
authored
Nov 17, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
5c9b87bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
diy.py
diy2.py
diy.py
0 → 100644
View file @
2d644bbc
i
=
3
username
=
"3非凡"
userpassword
=
"日本海"
while
True
:
if
i
>
0
:
name
=
input
(
"请输入投放时间时间:"
)
password
=
input
(
"请输入投放地点:"
)
i
-=
1
if
name
==
username
and
password
==
userpassword
:
print
(
"投放中···"
)
print
(
"boom!)
print("
哥斯拉
")
break
if name != username:
print("
引爆时间错误
")
continue
if password != userpassword:
print("
地点错误
")
else:
print(···)
exit()
print("
小日子没了!!!
")
\ No newline at end of file
diy2.py
0 → 100644
View file @
2d644bbc
i
=
3
username
=
"3秒"
userpassword
=
"小日子"
while
True
:
if
i
>
0
:
name
=
input
(
"请输入引爆时间:"
)
password
=
input
(
"请输入爆炸地点:"
)
i
-=
1
if
name
==
username
and
password
==
userpassword
:
print
(
"二营长,我300000000古戈尔颗核弹呢?!"
)
print
(
"在这"
)
print
(
"核爆模式 启动!"
)
break
if
name
!=
username
:
print
(
"引爆时间错误"
)
continue
if
password
!=
userpassword
:
print
(
"地点错误"
)
else
:
print
(
"备用核爆模式 启动!!!"
)
exit
()
print
(
"3 2 1 boom!"
)
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