List vs tuple
Në shqip: Lista apo tuple
ShpjegimiSQ
Lista mund të ndryshojë (shton, heq) dhe përdoret për koleksione të një lloji; tuple-i s'ndryshon dhe përdoret për grupe të fiksuara vlerash (si koordinatat). Tuple-t mund të jenë çelësa fjalori, listat jo.
EnglishEN
A list can change (add, remove) and is used for collections of one kind; a tuple can't change and is used for fixed groups of values (like coordinates). Tuples can be dictionary keys, lists can't.
Si ta mendosh
Lista është si shporta e blerjeve; tuple-i si data e lindjes (dita, muaji, viti).
Lexoje në anglisht
A list is like a shopping basket; a tuple is like a birth date (day, month, year).