Commit 73cd8e5b 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
yese=Heor("yase",300,50)
huoyi=Heor("huoyi",240,70)
print(yese.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