what below does? I know 4 is returned but don't immediately see how.
len(['apples','oranges',True,5])
We got a list with 4 element(number of items in the list)... That's what len() does, returns the length of an object
The lenght of the list is 4
Обсуждают сегодня