# Very irritating program that repeatedly prompts the user # Notice this can't be done with for loops: we don't know how many times to repeat user_in = raw_input("What do you say? ") while(user_in != "quit"): print("Oh yeah? We'll I'm just going to bug you!!") user_in = raw_input("What do you say? ") print("Aha, I guess I couldn't fool you completely.") # Repeat "hello" 6 times. Notice that count must be updated or loop is infinite! count = 1 while(count < 6): print("hello") count = count + 1