I have a list that like:
list = ['a', 'b', 'c', 'd', 'e']
I want to slice, selecting 'a', 'c', 'd'. I try doing:
list[0, 2, 3]
and I receive an error message that says: 'list indices must be integers or slices, not tuple'.
I also tried:
list[True, False, True, True, False]
and I receive an error message that says: 'list indices must be integers or slices, not list'.
Can anyone help me?
Regards