Let’s check out some exercises that will help understand len() function better.
Using len() function find out how many items are in the list.
len() function can also tell the length of a string.
Find out the length of the string given below.
How many keys are there in the dictionary?