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
ec514cb4
authored
Jun 11, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
a37f3897
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
2 deletions
diy.py
diy.py
View file @
ec514cb4
...
@@ -4,10 +4,40 @@ class Hero:
...
@@ -4,10 +4,40 @@ class Hero:
self
.
name
=
name
self
.
name
=
name
self
.
hp
=
hp
self
.
hp
=
hp
self
.
attack
=
attack
self
.
attack
=
attack
def
sj
():
a
.
level
=
a
.
a
.
level
+
4786237948672359946576382457265632756273895423357557
a
.
hp
=
a
.
hp
+
568934777538256774002484590829434577438921030988474339488455
a
.
attack
=
a
.
attack
+
5457134776471321398237847373123145687821911878764667
a
=
Hero
(
"瑟"
,
85957823947238946827893465762
,
4987529857432589572438654787829
)
a
=
Hero
(
"瑟"
,
85957823947238946827893465762
,
4987529857432589572438654787829
)
b
=
Hero
(
"鱼"
,
57854657346586437845673983754
,
7438589375847583583767777878996
)
print
(
"瑟:"
,
a
.
hp
)
c
=
Hero
(
"将"
,
94895743009593825734678349578
,
3849638590324672309875634896524
)
print
(
"瑟:"
a
.
attack
)
sj
()
sj
()
sj
()
sj
()
sj
()
sj
()
sj
()
sj
()
sj
()
sj
()
sj
()
sj
()
sj
()
sj
()
sj
()
sj
()
#b=Hero("鱼",57854657346586437845673983754,7438589375847583583767777878996)
#c=Hero("将",94895743009593825734678349578,3849638590324672309875634896524)
print
(
"n次瑟血:"
a
.
hp
)
print
(
"n次瑟攻:"
a
.
attack
)
print
(
"瑟血:"
a
.
level
)
print
(
"瑟血:"
a
.
level
)
print
(
"鱼血:"
b
.
hp
)
print
(
"鱼血:"
b
.
hp
)
print
(
"将攻:"
c
.
attack
)
print
(
"将攻:"
c
.
attack
)
...
...
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