Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Currently, this should draw three triangles to the screen, and then close the turtle window immediately. We d like to have the turtle window remain

Currently, this should draw three triangles to the screen, and then close the turtle window immediately. Wed like to have the turtle window remain up until we click on it, to ensure that we have time to see the resulting picture. We can use the exitonclick turtle function to solve this.
Add the following line to the end of your Python file:
turtle.exitonclick() #This should always be the last line of the file
Wed like to change the code to produce the figure on the right, where the largest triangle is drawn to the left of the others.
Add the following line of code to your Python file somewhere, that causes it to produce the figure shown to the right.:
turtle.left(60)

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

Step: 3

blur-text-image

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 Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

What are the organizations task goals on this issue?

Answered: 1 week ago

Question

1. Identify what positions are included in the plan.

Answered: 1 week ago

Question

2. Identify the employees who are included in the plan.

Answered: 1 week ago

Question

7. Discuss the implications of a skill-based pay plan for training.

Answered: 1 week ago