Collatz length in python

前端 未结 0 577
眼角桃花
眼角桃花 2021-01-21 21:06

Trying to output the length of collatz sequence eg input 5 outputs 6, input 7 outputs 17

Are there issues with my indentation?

def collatz(n):
    count =          


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