count loop list code example Example: count items in list python by loop ... count = 0 for item in animals: count = count + 1 ...