name of list list words ['the''cat''sat''on''the''mat 'for word in words new python looping construct print(wordprintwhat we want to do with the list items python has construct precisely for stepping through the elements of list this is the third and final construct we will meet in this course we have already seen if and while in this course now we meet for this looping constructbut rather than repeat while test evaluates to trueit loops once for each item in list furthermore it defines name which it attaches to one item after another in the list as it repeats the loop