Better way to write if-elif-elif-elif-else based on a dictionary?

后端 未结 0 410
暖寄归人
暖寄归人 2020-12-02 03:12

How can I improve (reduce the writing) for this if-else block to run a method based on an option entered? I\'ve tried looking at SO and various other areas for solutions but

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