equalor python will give you valueerrorcat ['fat''gray''loud'sizecolordispositionname cat traceback (most recent call last)file ""line in sizecolordispositionname cat valueerrornot enough values to unpack (expected got using the enumerate(function with lists instead of using the range(len(somelist)technique with for loop to obtain the integer index of the items in the listyou can call the enumerate(function instead on each iteration of the loopenumerate(will return two valuesthe index of the item in the listand the item in the list itself for examplethis code is equivalent to the code in the "using for loops with listson page supplies ['pens''staplers''flamethrowers''binders'for indexitem in enumerate(supplies)print('index str(indexin supplies isitemindex in supplies ispens index in supplies isstaplers index in supplies isflamethrowers index in supplies isbinders the enumerate(function is useful if you need both the item and the item' index in the loop' block using the random choice(and random shuffle(functions with lists the random module has couple functions that accept lists for arguments the random choice(function will return randomly selected item from the list enter the following into the interactive shellimport random pets ['dog''cat''moose'random choice(pets'dograndom choice(pets'catrandom choice(pets'catyou can consider random choice(somelistto be shorter form of somelist[random randint( len(somelist