Python Function that creates class instances

前端 未结 0 1035
南旧
南旧 2020-12-22 11:26

Hello i want to create a function which creates instances of a class

def make_instance(name_instance) name_instance=puppy()

class puppy: def init

相关标签:
回答
  • 消灭零回复
提交回复
热议问题