Condensing several if statements into a for and an if

前端 未结 0 542
猫巷女王i
猫巷女王i 2020-12-17 06:11

Is there a way to condense these four if statements into a for loop and with a single if condition? I was told that there is a way but I can only think of multiple else if s

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