Commit f68cee0f by BellCodeEditor

save project

parent 8eea865e
Showing with 8 additions and 2 deletions
aa class Hero:
\ No newline at end of file def __init__(self,name,hp,attack):
self.name = name
self.hp = hp
self.attack = attack
shabi = Hero("shabi",0,0)
hanhan = Hero("hanhan",8,8)
\ 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