Given a nested list named NxN_tablethat represents a table withN rows andN columns, print each element that is along the diagonal of the table starting from the upper left corner moving down to the lower right corner.
Hint: You only need to use one loop. Draw a nested list that has three sublists each containing 3 elements.
What are the indexes of the elements along the diagonal?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here