Commit b1336e05 by BellCodeEditor

save project

parent 49546ecc
Showing with 8 additions and 18 deletions
while True: a=1
class Cat: b=2
def __init__(self): while True:
self.footNum = 4 # 腿 a=a+a
self.eyeNum = 2 # 眼睛 b=b+b
self.head = 1 # 头 print(b)
self.earsNum = 2 # 耳朵 print(a)
self.skin = "black" print(b-a)
def run(self):
print("小猫飞快的跑起来")
def skill(self,man):
print("小猫杀人了")
role = Cat()
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