Commit a711e67f by BellCodeEditor

save project

parent 70850cf8
Showing with 10 additions and 0 deletions
class Heor:
def __init__(self,name,hp,att):
self.leve=1
self.name=name
self.hp=hp
self.att=att
yase=Heor('亚瑟',300,50)
hoyi=Heor('后羿',250,70)
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