if choice == 'A' or 'C':
is wrong, has to be
if choice == 'A' or choice == 'C':
or simpler
if choice in 'AC':
It looks like you are using tabs for indentations, stay away from those and use four spaces instead. Indentations are too important in Python to waste them on tab troubles.
Last edited by vegaseat; Sep 19th, 2009 at 12:26 am. Reason: no tabs!
Reputation Points: 1333
Solved Threads: 1403
DaniWeb's Hypocrite
Online 5,792 posts
since Oct 2004