To remove spaces from a string in Python, use the str.replace() method. For example "This is a ... before = "This \t is a \n test \n\n \t let's modify this".
確定! 回上一頁