Answered step by step
Verified Expert Solution
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)
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
Get Instant Access to Expert-Tailored 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