Python Tanks - Intro #2 - left and right

Here are another instructions left() and right()- for rotating the tank.
Try to Run the code, see that commands are executed in order.
Note the rules: each command is on separate line, each command starts at the beginning of line.

Prev
#tank not only can move forward #it also can rotate #with "left()" and "right()" commands #here we ask it to move a bit forward, #to turn left and move a step more #commands are executed in the same order #they are written - surprise, yeah? :) forward() left() forward() #switch to next level when you are ready!