Commit fc75b09b by BellCodeEditor

auto save

parent 8f9be5c1
Showing with 11 additions and 0 deletions
class Hero:
def __init__(self,fun,fun1,fun2):
self.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