《深入Python3》:http://woodpecker.org.cn/diveintopython3/index.html
str=[].append('aaa')
print(str,type(str)) # None <class 'NoneType'>
str=[]
str.append('aaa')
print(str,type(str)) # ['aaa'] <class 'list'>
《深入Python3》:http://woodpecker.org.cn/diveintopython3/index.html
str=[].append('aaa')
print(str,type(str)) # None <class 'NoneType'>
str=[]
str.append('aaa')
print(str,type(str)) # ['aaa'] <class 'list'>