Forum: Python Sep 13th, 2009 |
| Replies: 6 Views: 659 What woooee said was correct:
overwrite=""
while(overwrite!="Y".lower() and overwrite!="N".lower()):
overwrite=raw_input() |
Forum: Python Jul 14th, 2009 |
| Replies: 7 Views: 810 Try:
import time
response=raw_input("Are you ready?\n")
while(response.lower()!="no"):
if(response.lower()!="yes"):
time.sleep(3)
response=raw_input("\nAre you... |