len() python 3.7 code example Example: len python 3 len(list) # returns the length of a list, tuple, string, etc.