Commit 4bc409b4 by BellCodeEditor

save project

parent 2003d673
Showing with 6 additions and 7 deletions
class Hero: import wordcloud
def__init__(self)
self.level = 1 w = wordcloud.WordCloud(background_color="white")
self.hp = 300 w.generate("hello word")
self.attack = 20 w.to_file("mycloud.png")
yase = Hero() \ No newline at end of file
print(yase.hp)
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