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)End Sub
JavaScript.function