On 21 February 2010 22:44, jim serson <[email protected]> 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

Your code currently throws the result of the count + 1 expression
away. You probably want this instead:
count = count + 1

> or if I can use it after splitting an input the problem is the input is
> variable so I don't know if I can do such a thing without knowing the input
> ahead of time.

I'm not really sure what you're trying to say here.

HTH,
benno
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to