I'm trying to get a list from the input function
programme = input('giving list')
#giving a list ['1','2','2']
print(programme)
noob = list(programme)
print(type(noob))
print(noob)
Here is the terminal answer
giving list['1','2','2']
['1','2','2']
<class 'list'>
['[', "'", '1', "'", ',', "'", '2', "'", ',', "'", '2', "'", ']']
is it possible to recover 'noob' variable like :
noob = ['1','2','2']
instead of noob = ['[', "'", '1', "'", ',', "'", '2', "'", ',', "'", '2', "'", ']']