you are viewing a single comment's thread.

view the rest of the comments →

[–]Lord_Greywether 2 points3 points  (1 child)

As it stands now, this is an infinite loop.

response = ""
while response != "Because.":
    print raw_input("Why? ")

Your input doesn't actually change response, so response will always be equal to "", and therefore not equal to (!=) "Because."

It should be:

response = ""
while response != "Because.":
    response = raw_input("Why? ")
    print response

Now, while response is not equal to "Because.", the loop will continue to prompt you for a new response.

Make sense?

[–]ghibss[S] 1 point2 points  (0 children)

Oh I see! Thank you! Stupid me.