# Author: James Tam # Version: November, 2012 # Learning concepts: # Using the 'in' operator in conjunction with lists (searching \ # and iterating print("Example 1: ") recall_list = ["vpn123", "NCC-75633", "gst7"] item = input ("Product code to check for recall: ") if item in recall_list: print("Your product was on the recall list, take it back") else: print("You're safe") print() print("Example 2:") days = ["Sun", "Mon", "Tue", "Wed", "Thur", "Fri", "Sat"] for temp in days: print(temp)