>     while usrinp != "y" or "Y" or "N" or "n": <<<<----PROBLEM

Correct way:
while usrinp != "y" or usrinp != "Y" or usrinp != "N" or usrinp != "n":
There has to be a boolean evaluation on both sides of or.

Or in this case:
while usrinp not in ['Y', 'y', 'N', 'n']:

Ravi Teja.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to