Removing first elements of tuples in a list
Firstly tuple is immutable.
Secondly try this approach using a list comprehension:
a_list = [el[1:] for el in values]
Check slice notation
.
Firstly tuple is immutable.
Secondly try this approach using a list comprehension:
a_list = [el[1:] for el in values]
Check slice notation
.