Coding Curriculum - Python

Lesson 5

Populating the Grid: Part 1

Let's have a look at what we have already done before we move on. We are already able to store the answers and the questions, we can create a menu (or an interface) to make some decisions while the program is running and we can create a grid. So we are already able to make a program that helps you revise by asking you questions. But that doesn't seem like fun though! So in this lesson, we are going to use the empty grid to create a word search puzzle.

The first thing that we will need to do is to place the answers to our questions in the grid. After that is done, we populate the rest of the grid with random numbers to hide our answers and make the quizzes more fun! :)