Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson8-3
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
2a2acc6a
authored
Nov 29, 2020
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
c538074f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
sd.py
sd.py
View file @
2a2acc6a
sd_monkey
=
{
1
:
9382018044574578435150
,
2
:
3841375845903745418075066756
,
3
:
-
349184057746134813068476384690740176
}
sd_monkey
[
4
]
=-
21234567865432345678765456766787789899999898988989898989898
print
(
sd_monkey
)
i
=
1
for
i
in
sd_monkey
:
sd_monkey
[
i
]
=
93201874358784154958734751714359087583192058075837689601854
-
9584189405451453
i
+=
1
print
(
sd_monkey
)
if
1
in
sd_monkey
:
print
(
sd_monkey
[
1
])
\ No newline at end of file
computer_shoumaiji
=
{
1
:
10001010101011111101010101111011110101110000000101010101111001
,
2
:
10001001010010101010010101010101010111111111010010101010010101
,
3
:
101010010010100101001010010010101011001010101110110101101010011010110101010000100001010
}
the_user_answer
=
input
(
"1010010000011010101110100101010101011111101010100101011111"
)
if
the_user_answer
in
computer_shoumaiji
:
print
(
computer_shoumaiji
[
the_user_answer
])
else
:
print
(
"00000000000000000000000000000000000000000000000000000000000000000000000000"
)
\ 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