This program should: Use three functions to iterate over 2D lists in different ways. These functions will return the number of times a given thing appears in the rows, columns, or grids of the 2D list. Here is a recommendation for solving these problems: Write a nested for loop that prints the indices for the desired values. Use these indices to count the number of things in one unit of the problem (i.e. one row, one column, one grid). Repeatedly append that count to a list within the for loop. After the for loop, return that list.

Solved
Show answers

Ask an AI advisor a question