""" Programming in Python for Social Science Phillip Brooker 6. 2. 2. LOOPS AND LIST COMPREHENSION EXERCISE """ """ EXERCISE: Go through each word in "word_list" (below), and if a word contains the letter "g", put it in a new list. Do this two ways: (1) with a for loop, and (2) as a list comprehension. """ word_list = ["able", "barrel", "beef", "beep", "biggest", "bookshelf", "bottle", "broken", "chip", "chrome", "clay", "clip", "colander", "collection", "complicated", "cousin", "crispy", "dance", "drench", "drums", "egg", "elastic", "engine", "felt", "fighting", "fine", "fire", "folder", "foolish", "freezing", "fried", "fumble", "fuzzy", "gas", "green", "grief", "gross", "grown", "harmonica", "hulking", "hybrid", "icon", "input", "jet", "kindness", "lemon", "lurch", "melon", "mulch", "no", "obscuring", "output", "political", "quit", "red", "regal", "rent", "retro", "retry", "ride", "sad", "silly", "smell", "spatula", "steel", "supermarket", "tab", "teeth", "tip", "tree", "trip", "tube", "turtle", "unlikely", "varnish", "vine", "vulture", "wind", "wing", "wink", "word", "written", "xenon", "yoghurt", "zesty"]