How to take list of numbers from a recursive function and return it as a list?

后端 未结 0 1680
有刺的猬
有刺的猬 2020-12-03 11:19

So I made a recursive function that gives me a certain number if it\'s odd or even. So if I call the function with a 5, it\'ll output 5, 16, 8, 4, 2, 1. How do i have the ou

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