L.I : To Learn how to code the Microbot in the Phyton.
For this example the buttons , the main thing to notice is "def" witch is defeing what the on_button_pressed will make to miscbitt do. Again this has a top and bottom so the content has to go insde it.
The first one shows the Phyton coding for flashing heart. It flashes between a small heart icon and a large heart Icon. The Main thing to notice between the Phython coding and the blocks is the the forevea loop is the top and bottom of the content in both.
No comments:
Post a Comment