Python Remove Spaces from String, How to remove duplicate whitespaces from ... import string >>> s.translate({ord(c): None for c in string.whitespace}) ...
確定! 回上一頁