Python String strip() function will remove leading and trailing whitespaces. > ... If you want to remove only leading or trailing spaces, use lstrip() or rstrip() ...
確定! 回上一頁