Uso del método rstrip () para eliminar el carácter NewLine de una cadena

# rstrip() method to remove trailing newline character from a string
text= "Welcome to Python Programming \n"
print(text.rstrip())
Gorgeous Gazelle