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
If anybody decides to use replace, you should try r'\n' instead '\n'
replace
r'\n'
'\n'
mystring = mystring.replace(r'\n', ' ').replace(r'\r', '')