each value in the list let' add second line to our messagetelling each magician that we're looking forward to their next trickmagicians ['alice''david''carolina'for magician in magiciansprint(magician title("that was great trick!" print(" can' wait to see your next trickmagician title(\ "because we have indented both print statementseach line will be executed once for every magician in the list the newline ("\ "in the second print statement inserts blank line after each pass through the loop this creates set of messages that are neatly grouped for each person in the listalicethat was great tricki can' wait to see your next trickalice davidthat was great tricki can' wait to see your next trickdavid carolinathat was great tricki can' wait to see your next trickcarolina you can use as many lines as you like in your for loops in practice you'll often find it useful to do number of different operations with each item in list when you use for loop doing something after for loop what happens once for loop has finished executingusuallyyou'll want to summarize block of output or move on to other work that your program must accomplish any lines of code after the for loop that are not indented are executed once without repetition let' write thank you to the group of magicians as wholethanking them for putting on an excellent show to display this group message after all of the individual messages have been printedwe place the thank you message after the for loop without indentationmagicians ['alice''david''carolina'for magician in magiciansprint(magician title("that was great trick!"print(" can' wait to see your next trickmagician title(\ " print("thank youeveryone that was great magic show!"