You should consider the following points in your solution: 1- The program should not contain any user-defined function. 2- The number of circles is 36, the starting radius is 100, and the offset angle that should be used each time to turn is10. 3- You should equally distribute the colors among the circles in your program, and you should select the colors from the colors list: colors=['brown','red','magenta','blue','green','orange'] 4- Your program should include only one loop. 5- Make sure to set properly the starting position (x & y) of your drawing, to maintain the above diagram.
You should consider the following points in your solution: 1- The program should not contain any user-defined function. 2- The number of circles is 36, the starting radius is 100, and the offset angle that should be used each time to turn is10. 3- You should equally distribute the colors among the circles in your program, and you should select the colors from the colors list: colors=['brown','red','magenta','blue','green','orange'] 4- Your program should include only one loop. 5- Make sure to set properly the starting position (x & y) of your drawing, to maintain the above diagram.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Introduction to Computing and Information Technology 2
![Turtle Graphics is a Python feature like a drawing board,
which lets us command a turtle to draw all over it! We can
use functions like forward(...) and right(...) which can move
the turtle around. Commonly used turtle methods are found
in the posted pdf file "turtle – Turtle graphics – Python
3.7.1rc1 documentation"
To make use of the turtle methods and functionalities, we
need to import turtle. "turtle" comes packed with the standard
Python package and need not be installed externally. The
roadmap for executing a turtle program follows 3 steps:
1. Import the turtle module
2. Create a turtle to control.
3. Draw around using the turtle methods.
Problem:
a- Based on what you have learned in this course and using the
appropriate commands, you are asked to implement a python
program that draws the below diagram using the turtle.
You should consider the following points in your solution:
1- The program should not contain any user-defined function.
2- The number of circles is 36, the starting radius is 100, and the
offset angle that should be used each time to turn is10.
3- You should equally distribute the colors among the circles in
your program, and you should select the colors from the colors
list:
colors=['brown','red','magenta','blue','green','orange']
4- Your program should include only one loop.
5- Make sure to set properly the starting position (x & y) of your
drawing, to maintain the above diagram.
b- Try to change either the number of circles or the turning angle
value. Discuss the impact of this change on the diagram and explain
the reason behind that.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F647ce735-784e-457f-b4b6-f60d09b8edfa%2F974f113d-dca9-465d-93fd-4f2c8bd013f5%2Fnbs6gpa_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Turtle Graphics is a Python feature like a drawing board,
which lets us command a turtle to draw all over it! We can
use functions like forward(...) and right(...) which can move
the turtle around. Commonly used turtle methods are found
in the posted pdf file "turtle – Turtle graphics – Python
3.7.1rc1 documentation"
To make use of the turtle methods and functionalities, we
need to import turtle. "turtle" comes packed with the standard
Python package and need not be installed externally. The
roadmap for executing a turtle program follows 3 steps:
1. Import the turtle module
2. Create a turtle to control.
3. Draw around using the turtle methods.
Problem:
a- Based on what you have learned in this course and using the
appropriate commands, you are asked to implement a python
program that draws the below diagram using the turtle.
You should consider the following points in your solution:
1- The program should not contain any user-defined function.
2- The number of circles is 36, the starting radius is 100, and the
offset angle that should be used each time to turn is10.
3- You should equally distribute the colors among the circles in
your program, and you should select the colors from the colors
list:
colors=['brown','red','magenta','blue','green','orange']
4- Your program should include only one loop.
5- Make sure to set properly the starting position (x & y) of your
drawing, to maintain the above diagram.
b- Try to change either the number of circles or the turning angle
value. Discuss the impact of this change on the diagram and explain
the reason behind that.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY