You can always “cast” it
>>> tuple([1, 2]) == (1, 2)
True
Keep in mind that Python, unlike for example Javascript, is strongly typed, and some (most?) of us prefer it that way.
You can always “cast” it
>>> tuple([1, 2]) == (1, 2)
True
Keep in mind that Python, unlike for example Javascript, is strongly typed, and some (most?) of us prefer it that way.