When I declare a
as ((5, 3))
, I want a[0]
to be equal to (5, 3)
. However, Python simpifies the expression to (5, 3)
.
Why are tuples simplified like that and do I have to use lists to express the same thing? ((5, 3), (3, 8))
works just fine.