When the display is connected, the "closing the lid" action would do nothing. When disconnected, it goes back to the previous state: "sleep".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import turtle as t | |
| print('''Sir/Mdm, I am at your command. I can do the following: | |
| 1-go forward 100 steps | |
| 2-go backward 100 steps | |
| 3-turn left | |
| 4-turn right | |
| 5-draw a circle | |
| 6-pen up | |
| 7-pen down |
