Strange behaviour of input() function (Python 3.2)

Chris Angelico rosuav at gmail.com
Sun May 22 18:49:17 EDT 2011


On Mon, May 23, 2011 at 8:43 AM, sunrrrise <sunrrrise at gmail.com> wrote:
> Hello,
> this is my first post. I'm trying to learn Python language which I find great, but I have a big problem with its editors/IDEs.

Welcome!

> b to:  Wprowadz zmienna b: 2

This looks wrong. Are you copying and pasting several lines, or simply
pressing the 2 key followed by Enter?

It's showing a lengthy string in the variable 'b', which - quite
correctly - cannot be cast to int.

Chris Angelico



More information about the Python-list mailing list