... removing last word updated_line = ' '.join(line.split(' ')[:-1]) # appending data to the variable updated_data += f'{updated_line}\n' # removing the old ...
確定! 回上一頁