I have a question about the following python outcome. Suppose I have a tuple :
a = ( (1,1), (2,2), (3,3) )
I want to remove (2,2)
(2,2)
It indicates a one-element tuple, just to prevent confusion.
(1,) is a tuple, while (1) is just the number 1 with unnecessary parentheses.
(1,)
(1)