Write a Python program to:
For example:
You must use the getValue function in your Python code.
You should use meaningful variable name(s) and Python syntax in your answer.
| Subroutine | Purpose |
|---|---|
getValue(row, column) | Returns the integer value at grid position (row, column) |
| Column 0 | Column 1 | Column 2 | ||
|---|---|---|---|---|
| Row | 0 | 4 | 5 | 3 |
| 1 | 2 | 1 | 5 | |
| 2 | 9 | 8 | 10 |
| Column 0 | Column 1 | Column 2 | ||
|---|---|---|---|---|
| Row | 0 | 1 | 2 | 3 |
| 1 | 4 | 5 | 6 | |
| 2 | 7 | 8 | 12 |
298 exam-style questions on AQA GCSE Computer Science Programming concepts. Each one has a worked solution and a mark scheme showing where the marks go.