Python Tuple Methods
A tuple is an immutable list of values.
# Both are same
t1 = ('a', 'b', 'c')
t1 = 'a', 'b', 'c'
NOTE THAT
A single value in parentheses is not a tuple
To create a single value tuple it is necessary to have a trailing comma.
a = ('b') # Not a tuple, ...
bigsmoke.hashnode.dev2 min read