You can use list.pop() method to remove the last element from the list. ... pop will raise index error if the list is empty. Using del statement.
確定! 回上一頁