Basically, I\'m asking the user to input a string of text into the console, but the string is very long and includes many line breaks. How would I take the user\'s string a
updated based on Xbello comment:
Xbello
string = my_string.rstrip('\r\n')
read more here