吐槽:我只想记录俩题,其他的都很简单就不说了。主要其实是想弄个概念辨析的,不过最后还是改成了题解hhh
题目:
2. Which of the following methods work both in Python lists and Python tuples?
A reverse()
B pop()
C append()
D sort()
E index()
答案:E。元组没有ABCD,只有E,列表是全有。reverse()(https://www.runoob.com/python/att-list-reverse.html)pop()(https://www.runoob.com/python/python-att-dictionary-pop.html)append()(https://www.runoob.com/python3/python3-att-list-append.html)sort()(https://www.runoob.com/python/att-li