Simple program question.

Chris Angelico rosuav at gmail.com
Sun Jun 9 23:33:28 EDT 2013


On Mon, Jun 10, 2013 at 1:06 PM,  <eschneider92 at comcast.net> wrote:
> if input()!=('duck', 'parry'):
> if input()=='duck':
> if input()=='parry':

Every time you call input(), it waits for you to type something. You
want to record what the person typed and then use it in each place.
Have you been taught a means of doing this?

ChrisA



More information about the Python-list mailing list