Length nuances

Report a typo

Sometimes the way we create a tuple may affect its length. Match tuples with the results of calling the len() function.

Match the items from left and right columns
tuple("corgi")
("corgi",)
tuple([0, 1, 10])
([0, 1], (10,))
5
3
2
1
___

Create a free account to access the full topic