inpt = input("Please write you numbers and press enter:")
nums = inpt.split(",")
result = []
for num in nums:
    num = int(num.strip())
    result.append(num)
print("List:", result)
ded2788f45852e1a7836888548a98c52a9c3fe31
<mask token>

<mask token>
for num in nums:
    num = int(num.strip())
    result.append(num)
print('List:', result)

inpt = input('Please write you numbers and press enter:')
nums = inpt.split(',')
result = []
for num in nums:
    num = int(num.strip())
    result.append(num)
print('List:', result)

inpt = input("Please write you numbers and press enter:")
nums = inpt.split(",")
result = []
for num in nums:
    num = int(num.strip())
    result.append(num)
print("List:", result)