Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribedimage text in transcribed

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 below

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions

Question

7. Identify the road of trials in The Lion King.

Answered: 1 week ago

Question

c. Acafeteriawhere healthy, nutritionally balanced foods are served

Answered: 1 week ago