Using if else statement inside functools.reduce

前端 未结 0 1186
感动是毒
感动是毒 2021-01-25 10:09

i have created a function which is working fine , however, i would like to add if else statement inside function.reduce and im not sure if this is achievable. tried researching

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