On Thursday, January 15, 2015 at 11:35:11 AM UTC+1, Abdul Abdul wrote:
> Hello,
>
> I have a program where I read a line input from the keyboard.
>
> If I remove this portion of code after reading the line, I get an error:
>
> line = line.rstrip()
>
> Why is that? Should stripping be always be
Abdul Abdul wrote:
> I have a program where I read a line input from the keyboard.
>
> If I remove this portion of code after reading the line, I get an error:
>
> line = line.rstrip()
>
> Why is that? Should stripping be always be used after reading an input in
> Python?
What version of Pytho