Remove a new line from a string by In this program, we will take a string as input and remove a new line from a string. Steps to solve the program Take a string as input.Remove the new line from the string using strip().Print the output. Output : Previous convert all the characters in a string to Upper Case. Next split and join a string