command pattern 'll be back --terminator the robots are coming in this we are going to look at how we can control robot using python code for our purposeswe will be using the turtle module included in the python standard library this will allow us to handle commands like move forwardturn leftand turn right without the need to build an actual robotalthough you should be able to use the code developed in this combined with board like the raspberry pi and some actuatorsto actually build robot you could control with code ontrolling the turtle let' begin by doing something simplelike drawing square on the screen using the turtle module turtle_basic py import turtle turtle color('blue''red'turtle begin_fill(for in range( )turtle forward( turtle left( turtle end_fill(turtle done((cwessel badenhorst badenhorstpractical python design patterns