Python String strip () Method · ExampleGet your own Python Server. Remove spaces at the beginning and at the end of the string: txt = " banana " x = txt.strip()
確定! 回上一頁