Question: For python 11:32 bbhosted.cuny.edu AT&T LTE The program turtleString.py [attached to this assignmnent takes a string as input and uses that string to control what

For python
 For python 11:32 bbhosted.cuny.edu AT&T LTE The program turtleString.py [attached to
this assignmnent takes a string as input and uses that string to

11:32 bbhosted.cuny.edu AT&T LTE The program turtleString.py [attached to this assignmnent takes a string as input and uses that string to control what the turtle draws on the screen Currently, the program processes the following commands: 'F": moves the turtle forward "L: turns the turtle 90 degrees to the eft R: turns the turtle 90 degrees to the right 'A': lifts the pen V': lowers the pen For example, if the user enters the string FLFLFLFLAFFFvFLFLFLFL", the turtle would move forward and then turn left. It repeats this 4 times, drawing a square Next, it lifts the pen and move forward 3 puts the pen back down and draw another square. Modify this program to allow the user also to specify with the following symbols B': moves the turtle backwards 'r": change the pen color to red g': change the pen color to green 'b': change the pen color to blue Submit your modified program (including a comment at the top of the program with your name) turtleString.py

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!