→2→1这个无限循环。def collatz(number):collatz(int(input('输入一个正整数')))
C语言.void collatz(unsigned int n){
Java.void collatz(int n){
Visual Basic.Imports SystemImports System.ConsolePublic Sub Collatz(ByVal n As UInteger