Commit 7fbc31c1 by BellCodeEditor

auto save

parent 6b1fbc15
Showing with 40 additions and 2 deletions
import wordcloud
\ No newline at end of file
class Hero:
def __init__(self,name,hp,attack):
self.level=1
self.name=name
self.hp=hp
self.attack=attack
yase=Hero(",200,30")
houyi=Hero(",300,30")
print("亚瑟:",yase.hp )
print("亚瑟:"yase.level)
list_hero['sb',30,''gb',30,''sb',30,''sb',30,''sb',30,']
print(hero)
\ 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