Question: problem a Write a function that uses turtle graphics to draw a polygon. The function should take the number of pages as a parameter.The function
problem a
Write a function that uses turtle graphics to draw a polygon. The function should take the number of pages as a parameter.The function should also take a fill color as a parameter.To draw an n-edge, the function must draw n straight lines, and for each line the function must turn the turtle 360 / n degrees.
problem b
Use the function from problem e) to draw the pattern given below.

problem c
Create a function that checks if a number a is divisible by another number b. The function should take the two numbers as parameters.The function should return True if a is divisible by b, False otherwise.(Hint: Use the modulo (%) operator).
Python Turtle Graphics
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
