On January 21th at 14:15 UTC , progression through exercises will be unavailable for 10 minutes due to a planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Cyber Battle Game
Game elements
Main Game Loop
Robot moves
Final game

Instruction

Well done! The third helper function checks if a given field is empty.

Exercise

Write an is_empty(board, row, column) function. This checks if the field indicated by that row and column is empty, i.e. whether it equals '-'. It should return either True or False.

Stuck? Here's a hint!

Simply check if

board[row][column] == '-'