Question: Using python and while loop only, Write code that takes a width and a height from the user, and uses a two dimensional loop to
Using python and while loop only,
| Write code that takes a width and a height from the user, and uses a two dimensional loop to create a list of tiles, starting at tile 1. The driver will be unable to check if you're using a two dimensional list to solve this problem, but please do so (even though there are easier ways to do this that we've covered), in order to get the appropriate practice for this assessment. You may not use any built-in functions/methods besides len() and .append(). Template: def create(row, column): width = row height = column #YOUR CODE GOES HERE (indented) return [] #END YOUR CODE |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
