Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction to nested lists
Iterating over nested lists
Modifying nested lists
Working with multiple lists
18. Quiz 2


Question 1 was a piece of cake for you, so let's move on to Question 2.


Create a function named hero_move_down(board) that accepts a game board in the format shown in the template code, moves the hero ('H') one field down and returns the modified board. Do not move the hero if the new field is occupied by an obstacle ('x') or is outside the game board.