Creating a class instance named after a user input

前端 未结 0 1994
后悔当初
后悔当初 2021-01-13 08:42

I am making a discord bot and want to create new instances of a class using user input, so essentially something like this:

class myclass:
  def __init__(self         


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