Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
Turtle Patterns 1 : If you look around the web, you can find examples of many projects that draw pictures, scenes, landscapes, geometric patterns, or
Turtle Patterns : If you look around the web, you can find examples of many projects that draw pictures, scenes, landscapes, geometric patterns, or interesting doodles using Python turtles. For this project you will draw a picture, scene, landscape or doodle that has identifiable patterns. The things that appear in your doodle must be built by combining different atomic shapes or patterns and using repetition. Atomic means its a building block that you dont break down into anything else. Use your imagination, but if you struggle too much, simplify your goals. User inputs for this project should be the turtle windows width and height values from the console. They should be positive integers only and should be validated. These values should then be used to set the size of the window. You must document in your module docstring what the window size should be Key ideas in this project are HOW you organize your code. Use parameterized functions as building blocks and loops wherever there is repeated code with variations. They give you an idea, some skeleton code, some test code, and a little bit of example code to use. Here is the required starter codesome of my stuff that cannot have anything in it deleted. I would apreciate finished code that fulfills criteria and a walkthrough: Project Name: Author: Due Date: YYYYMMDD Course: Put your description here, lessons learned here, and any other information someone using your program would need to know to make it run. # add functions here that your main program calls # to do stuff. def main: Program starts here. try: # replace pass with your code pass except ValueError: printWidth and height must be positive integers. return if width or height : printWidth and height must be positive integers. return # replace pass with your code pass if namemain: main
Turtle Patterns : If you look around the web, you can find examples of many projects that draw pictures, scenes, landscapes, geometric patterns, or interesting doodles using Python turtles. For this project you will draw a picture, scene, landscape or doodle that has identifiable patterns. The things that appear in your doodle must be built by combining different atomic shapes or patterns and using repetition. Atomic means its a building block that you dont break down into anything else. Use your imagination, but if you struggle too much, simplify your goals. User inputs for this project should be the turtle windows width and height values from the console. They should be positive integers only and should be validated. These values should then be used to set the size of the window. You must document in your module docstring what the window size should be
Key ideas in this project are HOW you organize your code. Use parameterized functions as building blocks and loops wherever there is repeated code with variations. They give you an idea, some skeleton code, some test code, and a little bit of example code to use.
Here is the required starter codesome of my stuff that cannot have anything in it deleted. I would apreciate finished code that fulfills criteria and a walkthrough:
Project Name:
Author:
Due Date: YYYYMMDD
Course:
Put your description here, lessons learned here, and any other information
someone using your program would need to know to make it run.
# add functions here that your main program calls
# to do stuff.
def main:
Program starts here.
try:
# replace pass with your code
pass
except ValueError:
printWidth and height must be positive integers.
return
if width or height :
printWidth and height must be positive integers.
return
# replace pass with your code
pass
if namemain:
main
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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