In a make task you write the program yourself, from an empty editor.
A game map is stored as a 2D array. Most squares are empty, marked "E", but
one square contains the treasure, marked "T".
game_map = [["E", "E", "E"], ["E", "T", "E"], ["E", "E", "E"]]
Start your program with the game_map line exactly as it is above. Then write
code that:
"T",The row and the column in the message have to come from the two loop counters, not be typed in by hand. Nothing is printed for the empty squares.
The tests also check your code: a program that does not have a for loop
inside a for loop does not pass.
One line, where ROW and COLUMN are the indices of the square that holds
the treasure:
Treasure found at row ROW, column COLUMN
Output:
Treasure found at row 1, column 1
Make sure that you check for the following things:
if is indented
under the inner loop.game_map[row][column]."T" is a capital letter, inside speech marks.str() before they are joined onto the text
with a +.