words ['the''cat''sat''on''the''mat 'defining the loop variable for word in words print(wordusing the loop variable now let' return to the name between "forand "inthis is called the "loop variableeach time the loop block is run this name is attached to on item of the list each tim the loop is run the name is attached to the next item in the list the looping stops after the name has been attached to the last item in the list