Commit d46de046 by BellCodeEditor

save project

parent cf553455
Showing with 6 additions and 6 deletions
class Hero: class Hero:
def __init__(UFO): def __init__(self,name,hp,attack):
UFO.level=1 self.level=1
UFO.hp=300 self.name=name
UFO.attack=20 self.hp=hp
pengpenglaoshi=Hero self.attack=attack
\ No newline at end of file pengpenglaoshi=Hero()
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