(number)
return 3 * number + 1
If number is even (number // 2) else (3 * number + 1)
    Args:
        number (int): number to collatz

    Returns:
        int: collatz number
If number is even (number // 2) else (3 * number + 1)
    Args:
        number (int): number to collatz
If number is even ( number // 2 ) else ( 3 * number + 1 ) Args : number ( int ) : number to collatz
def collatz(number):
    """If number is even (number // 2) else (3 * number + 1)
    Args:
        number (int): number to collatz

    Returns:
        int: collatz number
    """
    if (number % 2) == 0:
        print(number // 2)
        return number // 2
    
    print(3 * number + 1)
    return 3 * number + 1
def collatz ( number ) : if ( number % 2 ) == 0 : print ( number // 2 ) return number // 2 print ( 3 * number + 1 ) return 3 * number + 1