Not listed for deletion. When you print a list because it does not have a direct string representation, Python shows you its repr -a line, which shows its structure. You have a list with one item, line 12,33,223 ; what does [user] .
You probably want to separate the string with commas, for example:
user_list = user_input.split(',')
If you want them to be int s, you can use the understanding:
user_list = [int(number) for number in user_input.split(',')]
Eevee
source share