Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I really need help with this asap Objectives 1. Use functional programming 2. Use range alone and as part of a for-loop. 3. Use the
I really need help with this asap
Objectives 1. Use functional programming 2. Use range alone and as part of a for-loop. 3. Use the random and turtle modules. Instructions Write a program using the python turtle that creates a kaleidoscope image. Use this python turtle document - Import turtle and random modules - You will need a minimum of 8 functions. - Create a minimum of 4 turtle objects. Each object should be created in its own function and then returned. (at leas 4 functions) Example of creating a turtle object named turtlel: turtlel = turtle.Turtle () - Create functions that move/change all of your objects that take as parameters turtle objects. (at least 3 functions) Example function for move if I had two turtle objects named turtlel and turtle2: def move(turtle1, turtle2) : dist = random. randrange (50,50) turtlel. forward(dist) turtle2. forward(dist) Write a main function that: - Calls the functions that create your turtle objects and catches the return value. - Uses for-loops with range() to create designs. - Uses the randrange() function in the random module to make the designs randomly generated. - Calls functions to move/change your objects. You pass this off by showing the Labbies your working code. You also need to submit your code and two images of what your code created. See the examples belowStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started