astr = " Hello Workd " astr.strip() # ‘Hello Workd‘
python 入门(基础)
原文:https://www.cnblogs.com/liuxiaomo/p/12008402.html