read in 5 strings print each followed by " yes!" ====================== define func yes(x): print x followed by "yes" read in 5 strings for each, call yes(string) =================== def yes(x): print(x, "yes!") for weird in range(1, 6): x = input("string?> ") yes(x) =========================== Example for 1 iteration: BEFORE CALLING yes(): MAIN: x <- "goodbye" ----------------- DURING CALL: MAIN: x <- "goodbye" yes: x <- "goodbye" then "yes" ----------------- AFTER CALL: MAIN: x <- "goodbye"