The strip() method removes both the leading and the trailing spaces. If you have a string such as: string = ' ATGC, TGC , ATGC'.
確定! 回上一頁