Question: Python programing assignment How would I go abour doing this?: -create a function makeGrid and a function userInputInt. -Function makeGrid should: -take 4 parameters: width,

Python programing assignment

How would I go abour doing this?:

-create a function makeGrid and a function userInputInt.

-Function makeGrid should:

-take 4 parameters: width, height, block size, turtle object (in that order)

-draw a complete grid w/ the turtle object as a worker

-draw the grid width wide, height high, and w/ squares of block size

-there is no return value for this function

Function userInputInt should:

-take 2 parameters: lower limit and upper limit (in that order)

-prompt the user for input of an integer value including and between the limits

-return the valid input as a return value

-Ensure you create docstrings for your module and the two functions.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!