Commit a1222066 by BellCodeEditor

auto save

parent eefc1ea1
Showing with 2 additions and 2 deletions
...@@ -16,8 +16,8 @@ class Husky(Dog): # 哈士奇类 ...@@ -16,8 +16,8 @@ class Husky(Dog): # 哈士奇类
self.skin="black and white" self.skin="black and white"
coco = Husky() coco = Husky()
print(coco.skin) print(coco.skin)
# class Hero: # 英雄类 class Hero: # 英雄类
# def __init__(self, name): # 实例属性 def __init__(self, name): # 实例属性
# self.name = name # self.name = name
# self.level = 1 # self.level = 1
# self.hp = 250 # self.hp = 250
......
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