Write an interactive program that gives you the option to generate one of the turtle graphics images. The program should prompt the user for a value between 1 and 5 and generate a corresponding turtle graphics image. If the user enters Q or q the program should terminate. If the user enters anything else appropriate error messages should be displayed.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Write an interactive program that gives you the option to generate one of the turtle graphics images. The program should prompt the user for a value between 1 and 5 and generate a corresponding turtle graphics image. If the user enters Q or q the program should terminate. If the user enters anything else appropriate error messages should be displayed.

Project 2
Portier
Deliverable
Write an interactive program that gives you the option to generate one of five turtle graphics
images. The program should prompt the user for a value between and 5 and generate a
corresponding turtle graphics image. If user enters Q or ų the program should terminate. If the
user enters anything else an appropriate error message should be displayed.
Functional Requirements
1. Interaction with the user should be done in the shell. The turtle graphics image should
be in the turtle graphics window.
2. The complexity and attractiveness of the image generated is up to you and will not add
to or diminish your grade.
3. The program should not erash even if the user types in Control-C.
Transcribed Image Text:Project 2 Portier Deliverable Write an interactive program that gives you the option to generate one of five turtle graphics images. The program should prompt the user for a value between and 5 and generate a corresponding turtle graphics image. If user enters Q or ų the program should terminate. If the user enters anything else an appropriate error message should be displayed. Functional Requirements 1. Interaction with the user should be done in the shell. The turtle graphics image should be in the turtle graphics window. 2. The complexity and attractiveness of the image generated is up to you and will not add to or diminish your grade. 3. The program should not erash even if the user types in Control-C.
Technical Requirements
1. You may create or find on the internet 5 scripts that draw the 5 images. Each drawing
should, be implemented as a function. Name these functions fun1, fun2, fun3, fun4,
and fun5. Minimally, funl has (and requires) a definite loop. The others functions are
not required to have a loop. The images generated should be different from each other in
structure and color.
2. For each function use a docstring to provide a short description proceeded by Purpose:
and an attribution to the creator using Author:. If you are the author then use your
name. If you found the script on the internet then provide the URL.
3. Whether funl to fun5 are original code or found on the internet is your decision and will
not add to or diminish your grade.
4. Each of funl through fun5 should have a parameter t which is the turtle object. You
should have only 1 turtle defined for the entire program. You are free to use additional
parameters.
Transcribed Image Text:Technical Requirements 1. You may create or find on the internet 5 scripts that draw the 5 images. Each drawing should, be implemented as a function. Name these functions fun1, fun2, fun3, fun4, and fun5. Minimally, funl has (and requires) a definite loop. The others functions are not required to have a loop. The images generated should be different from each other in structure and color. 2. For each function use a docstring to provide a short description proceeded by Purpose: and an attribution to the creator using Author:. If you are the author then use your name. If you found the script on the internet then provide the URL. 3. Whether funl to fun5 are original code or found on the internet is your decision and will not add to or diminish your grade. 4. Each of funl through fun5 should have a parameter t which is the turtle object. You should have only 1 turtle defined for the entire program. You are free to use additional parameters.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Unreferenced Objects
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education