# #面向对象设计:# def dog(name,gender,type):# def jiao(dog):# print('One Dog[%s],wfwfwf'%dog['name'])# def walk(dog):# print('One Dog[%s] walking ' %dog['name'])# def init(name,gender,type):# dog1 = {# 'name':name,# 'gender':gender,# 'type':type,# 'jiao':j…