Commit d77ec553 by BellCodeEditor

save project

parent 97334828
Showing with 11 additions and 0 deletions
class Hero:
def __init__(self,fun,fun1,fun2):
sf.elf.level=1
self.name=fun
self.hp=fun1
self.attack=fun2
f=Hero('yase',300,20)
f1=Hero('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