Question: Need help for python thank you The program turtleString.py [attached to this assignmnent takes a string as input and uses that string to control what
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: "P : moves the turtle forward "L: turns the turtle 90 degrees to the left "R": turns the turtle 90 degrees to the right YV: 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)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
