Commit b0352cfb by BellCodeEditor

save project

parent 22354288
Showing with 9 additions and 0 deletions
class Hero:
det__init__(self,铁血战士,9000,200):
self.level = 1
self.铁血战士 = 铁血战士
self.9000 = 9000
self.200 = 200
yase = Hero("铁血战士",9000,200)
print("铁血战士的血量为:",yase.hp)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment