Commit 4d23fdf0 by BellCodeEditor

save project

parent b7e5cd13
Showing with 10 additions and 2 deletions
......@@ -3,6 +3,6 @@ class Herro:
shelf.level=1
shelf.hp=300
shelf.attack=20
yase = Herro()
print(shelf.hp)
yase = Herro()
print(shelf.hp)
class Herro:
def__init__(self,name,hp,attack):
self.name=name
self.level=1
self.hp=hp
self.attack=attack
yase=("亚瑟",300,20)
houyi=("后羿",250,23)
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