3 ms·
With tuples inside of lists, you usually unpack them to variables in a for loop. Named tuples are just immutable classes with slots. Unless you want to slow yo
by wheelerof4te 5y ago
With tuples inside of lists, you usually unpack them to variables in a for loop.
Named tuples are just immutable classes with slots. Unless you want to slow your code down considerably, it's best to avoid them.