python将字符串 a = “ welcome to my world ”首尾空格去掉

# 将字符串 a = “ welcome to my world ”首尾空格去掉
a=" welcome to my world "
print(a.strip())

 

posted @ 2024-02-20 18:19  琳达的博客  阅读(33)  评论(0编辑  收藏  举报