Am 10.07.2013 12:02, schrieb Wayne Brisette:
> I have some code that uses a counter. In certain circumstances, I have
> to subtract from the counter variable. I thought I could simple do this:
>
> my_variable -1

This returns the reduced value, but `my_variable' is not modified.

Use

   my_var = my_var - 1

or

   my_var -= 1


Regards,
Marcus


-- 
<https://github.com/stomar/>