Python String strip() Method · Example. Remove spaces at the beginning and at the end of the string: txt = " banana " x = txt.strip() print("of all fruits", x, " ...
確定! 回上一頁