append 注意事项

 

>>> t1 = [1, 2]
>>> t2 = t1.append(3)
>>> t1
[1, 2, 3]
>>> t2
None

 

posted @ 2018-12-18 11:15  anobscureretreat  阅读(201)  评论(0编辑  收藏  举报