Question
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
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