fb pixel

Working with tuples

Other than the perks of tuple unpacking and packing, tuples are as easy to operate as lists. They provide the same set of features except for the ones that modify the container.
Knowing that you are asked to compute the mean of this tuple:
numbers = (4, 50, -1, 9, 110, 60, -89, 24, 19, 82, -43, 0, -4, 8)
To check your solution you need to sign in
Sign in to continue