Python List

Python:

In listato=IN[0] insert 175 elements

In LIST1 insert 100 elements (if t<100:)

print LIST1 but get 175 elements

See image

Any help?

Thanks

looking at your code snippet, i think you can just slice it with listato = listato[0:100]

1 Like

It would seem your list is a list of a list too, so this logic may need to be watched out for

2 Likes
It's a list of a list... I solved it... Thanks to you
1 Like