Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson14_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
dd3d43a6
authored
Aug 24, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
ef39df1c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletions
diy.py
diy.py
View file @
dd3d43a6
class
hero
:
def
__init__
(
self
):
self
.
level
=
100000000000000101010010101010101010101010101011010101010101010101001101010101010101010101010101010101000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111100100110100101010101010101010110001000101010101010101010101101010100100101010101010101001010101010101010010101011001010101010010110100010001010101001010101001010101011100010101000101010101010101010101011010000101010101010010101100010101101010111111101001011111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111100000000000000000000000000000001111111111111111111111111111111111111111110000000000000000000000000000000000111111111111111111111111111111111111000000000000000000000000000000000000000222222222222222222222222222222000000000000000000000000000000000000000000001111111111111111111111111111111111111111111110000000000000000000000000000000000000000111111111111111111111111111111111111111111111111
self
.
hp
=
2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000111111111111111111111111111111111111111000000000000000000000000000000000111111111111111111111111111111111100000000000000000000000000000000000111111111111111111111111111110000000000000000000000000000001111110010101201010100110101010101010101010101010101010101010101001010101010010101010101010110101001011
self
.
attack
=
30000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101010100101010100101010101010010101010101010101010101010101010101010101010101010101010101010101010010101011001010010101010101010101010110101001101001010101010101010101010100101010101010101010101010101010001001010010010101010010101010101010101010101010100101010101101010010201001010100109101010001011010101010010010101010010101010101010101010101010011001010101010100101000101001010010100101010101001010100101010100101
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
class
hero
:
def
__init__
(
self
):
self
.
level
=
1
self
.
hp
=
300
self
.
attack
=
200
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
self
.
attack
=
200
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