Commit a7771193 by BellCodeEditor

auto save

parent ea920fc4
Showing with 13 additions and 0 deletions
class Person:
def __init__(self,name,age):
self.name=name
self.age=age
class Teacher():
def __init__(self):
self.name="lk"
self.age="12"
def skill(self,subject):
print("你今天教了"+subject)
lk=Cat()
lk.eat("肉")
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