Commit 9f670952 by BellCodeEditor

auto save

parent d32e8f83
Showing with 10 additions and 0 deletions
class Cat():
def __init__(self):
self.eye=2
self.foot=4
self.color='black'
def eat(self,name):
self.name=name
self.e=print('今天吃了'+self.name)
eat=Cat('鱼')
\ 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