Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson16_4
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
b8c716f3
authored
Sep 11, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
f19096ae
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
啊啊啊什么啊忽然加载出来,之前的都白写了.py
气死人了这个加载,三次都没加载出来,非要在最后加载出来
啊啊啊什么啊忽然加载出来,之前的都白写了.py
0 → 100644
View file @
b8c716f3
blood
=
random
.
randint
(
30
,
50
)
blood
=
random
.
randint
(
30
,
50
)
self
.
hp
+=
blood
if
self
.
hp
>
self
.
max_hp
self
.
hp
=
self
.
max_hp
print
(
self
.
name
+
"恢复了"
+
blood
"点血量,当前血量为:"
+
self
.
hp
)
\ No newline at end of file
气死人了这个加载,三次都没加载出来,非要在最后加载出来
0 → 100644
View file @
b8c716f3
++ "b/\346\260\224\346\255\273\344\272\272\344\272\206\350\277\231\344\270\252\345\212\240\350\275\275\357\274\214\344\270\211\346\254\241\351\203\275\346\262\241\345\212\240\350\275\275\345\207\272\346\235\245\357\274\214\351\235\236\350\246\201\345\234\250\346\234\200\345\220\216\345\212\240\350\275\275\345\207\272\346\235\245"
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