Tell me please, do I understand correctly that the main advantage of a tuple over a list is the size and speed of access?
#!/usr/local/lib/python3 q = (1,2,3) w = [1,2,3] print(q.__sizeof__()) # 48 print(w.__sizeof__()) # 64 The remaining differences such as the ability to use a tuple in the form of a key for the dictionary are rather exotic and rarely used.