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
You can try using string replace:
string = string.replace('\r', '').replace('\n', '')