Write a function collatzseq(n) which computes the Collatz sequence (as a Python list) given an initial value n.
#def collatzseq(n):
相似问题