📅  最后修改于: 2022-03-11 14:46:36.754000             🧑  作者: Mango
# rstrip() method to remove trailing newline character from a string
text= "Welcome to Python Programming \n"
print(text.rstrip())