Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

1) Write a 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 (5 points) 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 Changing 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 (5 points) 1) Write a 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 (5 points) 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 Changing 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 (5 points)

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_2

Step: 3

blur-text-image_3

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

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions