Commit d5d00d71 by BellCodeEditor

auto save

parent f6f37f2c
Showing with 9 additions and 0 deletions
class Cat:
def __init__(self,type, color, price):
self.footNum ='4'
self.type = type
self.color = color
self.price = price
zhonghuatianyuanmao=Cat('中华田园猫','orange','100')
print(zhonghuatianyuanmao.price)
\ 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