Automate the Boring Stuff With Python Practice Project: collatz sequence Unknown loop?

前端 未结 0 912
既然无缘
既然无缘 2020-12-06 09:38

The outline: Write a function named collatz() that has one parameter named number. If the number is even, then collatz() should print number // 2 and return this value. If t

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