On Sun, Feb 21, 2010 at 8:44 AM, jim serson <fubarni...@hotmail.com> wrote:
> Can anyone tell me if I can have my program check to see if something is
> true the add to count
>
> For example something like
>
> if c_1 and c_2 and c_3 true:
>
>             count + 1

This will almost work as written. Try
if c_1 and c_2 and c_3:
    count = count + 1 # or count += 1

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to