words ['the''cat''sat''on''the''mat 'keywords for word in words print(wordcolon followed by an indented block we'll look at the expression one step at time the expression is introduced by the "forkeyword this is followed by the name of variable we will return to this in the next slide after the name comes the keyword "inwe have met this word in the context of lists before when we tested for an item' presence in list this is different use we aren' asking if specific value is in list but rather we are asserting that we are going to be processing those values that are in it after this comes the list itselfor more often the name of list all it has to be is an expression that evaluates to list the line ends with colon the lines following the colon are indented marking the block of code that is to be run once for each item in the list