Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Write a python code using turtle. The code should let the user drive the pen with turtle.pendown(). The code should ask the user (input

1) Write a python code using turtle. The code should let the user drive the pen with turtle.pendown(). The code should ask the user (input function) where the next position of the pen (turtle) is while providing the current position. For example

The current position is (0 , 0). Please choose the next position: -100 , 50

The current position is (-100 , 50). Please choose the next position: 100, 20

2) Let the user change the settings when the input is -1000 , -1000 . The settings are the color, the pen size, and reset. For example,

The current position is (0 , 0). Please choose the next position: -1000 , -1000 C

hanging setting:

Please input the color (red, green, blue, or black): red

Please input the pen size: 5

Would you like to reset the screen ( yes or no): yes

Settings has been changed: The current position is (0 , 0). Please choose the next position: 50 , 50

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

Build It For The Real World A Database Workbook

Authors: Wilson, Susan, Hoferek, Mary J.

1st Edition

0073197599, 9780073197593

More Books

Students also viewed these Databases questions