Commit faf61d4f by BellCodeEditor

save project

parent f47689a4
Showing with 11 additions and 0 deletions
class Hero:
def __init__(self,hp,attack,level):
self.hp1=hp
self.attack1=attack
self.level1=level
yase=Hero(300,50,1)
wuzetian=Hero(1100,2000,1)
zzx=Hero(250,250,1)
print("yase攻击为",yase.attack1)
\ 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