Python has a built-in function, len(), which is able to get the number of items in a list.
we have the following list, we get the following output.