Multiplication error in python

Chris Angelico rosuav at
Wed Sep 28 09:31:16 CEST 2011

On Wed, Sep 28, 2011 at 4:28 PM, Tim Roberts <timr at> wrote:
> My guess is that you actually typed
>    p=3*a
> instead of
>    p=2*a
> That produces 45.

Or alternatively, that you used an interactive Python environment and
didn't clear i between runs.


More information about the Python-list mailing list