>>> favorite_labfuage = ' python '
>>> favorite_labfuage.restrip()
' python'
>>> favorite_labfuage.lstrip()
'python '
>>> favorite_labfuage.strip()
'python'
restrip() 删除后端的空白
lstrip() 删除前端的空白
strip() 删除两端的空白
>>>motorcycles = ['honda','yamaha','suzuki']
>>>ponpend_motorcycles = motorcycles .pop()
['honda','yamaha',]
pop()尾删