W4_A1_Ex-4_Tuple index out of range


Where did I go wrong?

When l = 0, you’ll access caches[L] which is incorrect.
Pay attention to the reversed construct in the for loop.