Creating objects based on user input

后端 未结 3 731
轮回少年
轮回少年 2021-01-27 03:37

I have a couple of questions. The code below doesn\'t run because I\'ve specified three arguments to the __init__ method and the make_dog function retu

3条回答
  •  遥遥无期
    2021-01-27 04:03

    Your function returns a dicitionary and class should takie argunents. Use

    **dict or **func()

    in a new object call

提交回复
热议问题