import sys

def collatz(number):
    while(number > 1):
        if(number % 2):
            number = (number * 3) + 1
        else:
            number = number // 2
        n = number
        list.append(n)

for arg in sys.argv:
    n = int(sys.argv[1])

list = [n]

print(f"Calculating the collatz conjecture from the number {n}...")
collatz(n) # calculates

print("The results are in: ", end="")
print(f"{list}")

import sys

def collatz(number):
    while(number > 1):
        if(number % 2):
            number = (number * 3) + 1
        else:
            number = number // 2
        n = number
        list.append(n)

for arg in sys.argv:
    n = int(sys.argv[1])

list = [n]

print(f"Calculating the collatz conjecture from the number {n}...")
collatz(n) # calculates

print("The results are in: ", end="")
print(f"{list}")

# calculates