Commit b1336e05 by BellCodeEditor

save project

parent 49546ecc
Showing with 7 additions and 17 deletions
a=1
b=2
while True: while True:
class Cat: a=a+a
def __init__(self): b=b+b
self.footNum = 4 # 腿 print(b)
self.eyeNum = 2 # 眼睛 print(a)
self.head = 1 # 头 print(b-a)
self.earsNum = 2 # 耳朵
self.skin = "black"
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