DEV Community

Mr #1738
Mr #1738

Posted on

Deleting Tuple Elements in Python.

Removing individual tuple elements is not possible. There is, of course, nothing wrong with putting together another tuple with the undesired elements discarded.
To explicitly remove an entire tuple, just use the del statement.

Top comments (0)