x = input() print(x.strip())
复制代码
1
2
3
4
5
6
7
8
print(name.strip())
print(name.lstrip())
print(name.rstrip())
#输出:
Hello World