Commit 992ef42d by BellCodeEditor

auto save

parent ca5dde5c
Showing with 4 additions and 1 deletions
import turtle
turtle.circle(50,steps=1000)
turtle.done()
......@@ -29,7 +29,7 @@ class Player(Hero):
self.attack=65
self.hero_type=hero_type
print("角色"+self.name+"创建成功,"+"英雄类型为:"+self.hero_type)
print("角色的属性值:等级,血量,攻击力为:",self.level,self.hp,self.attack)
print("角色的属性值:等级,血量,攻击力分别为:",self.level,self.hp,self.attack)
player = Player("守约","射手")
......
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