题解 | #格式化输出(三)#

格式化输出(三)

https://www.nowcoder.com/practice/cc6cb2b4aac446da902356fec043f5c1

name = input("")
# strip() 去除左右两边的空格
# lstrip() 去除左边的空格
# rstrip() 去除右边的空格
name = name.strip()
print(name)

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务