Commit 636235a6 by BellCodeEditor

save project

parent bfeb94f0
Showing with 19 additions and 1 deletions
-- "a/\345\220\264\345\275\246\347\245\2263.py" class Dog:
class Dog:
def __init__(self):
self.footNum=4
self.eyeNum=2
self.head=1
self.earNum=2
self.skin="wrint"
def run(self):
print("狗狗飞快的跑起来")
class Husky(Dog):
def__init__(self):
super().__init__()
self.skin="blank"
coco=Husky()
print(coco.skin)
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