Usando o método RStrip () para remover o caractere da Newline de uma string
# rstrip() method to remove trailing newline character from a string
text= "Welcome to Python Programming \n"
print(text.rstrip())
Gorgeous Gazelle