Is there a way to pull the first element from a Python tuple?
For example, for
tuple('A', 'B', 'C')
I would like to pop out "A" and get a tuple containing "B" and "C".
Since tuples are immutable, I understand that I need to copy them to a new tuple. But how can I filter out only the first element of a tuple?
source
share