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 used after reading an input in
Python?

Thanks.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to