Commit b47709dc by BellCodeEditor

auto save

parent ac795495
Showing with 1285 additions and 3 deletions
# self.level : 无法将“self.level”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如
# 果包括路径,请确保路径正确,然后再试一次。
class Cat: class Cat:
def __init__(self): def __init__(self):
self.footNum = 4 # 腿 self.footNum = 4 # 腿
...@@ -10,7 +12,1288 @@ class Cat: ...@@ -10,7 +12,1288 @@ class Cat:
print("小猫飞快的跑起来") print("小猫飞快的跑起来")
def skill(): def skill():
?? print("小猫")
role = Cat() role = Cat()
role.skill("老鼠") role.skill("老鼠")
\ 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