What is a clean way to have a Python function execute in different modes bases on string input

后端 未结 0 1629
遇见更好的自我
遇见更好的自我 2020-12-22 20:20

I have a function that applies different data preprocessing based on a string argument and am a confused on how that is usually done in python because of the lack of switch

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