#### 前言
去除列表中的最后一个元素
#### 方法
##### 变量
confirm = ['The', 'greatest', 'truths', 'are', 'the', 'simplest']
##### 法1: list.pop()
```
>>> confirm.pop()
'simplest'
>>> confirm
['The', 'greatest', 'truths', 'are', 'the']
```
##### 法2 del(list[-1])
```
>>> confirm = ['The', 'greatest', 'truths', 'are', 'the', 'simplest']
>>> del(confirm[-1])
>>> print(confirm )
['The', 'greatest', 'truths', 'are', 'the']
```
##### 法3 切片list[0:-1]
```
>>> confirm[0:-1]
['The', 'greatest', 'truths', 'are', 'the']
```