Code
sprite = Sprite('Tobi')
quarky = Quarky()
# imported modules
import time
for i in range(0, 4):
quarky.runrobot("FORWARD", 100)
time.sleep(1)
quarky.stoprobot()
quarky.runrobot("LEFT", 100)
time.sleep(1.2)
quarky.stoprobot()
sprite = Sprite('Tobi')
quarky = Quarky()
# imported modules
import time
for i in range(0, 4):
quarky.runrobot("FORWARD", 100)
time.sleep(1)
quarky.stoprobot()
quarky.runrobot("LEFT", 100)
time.sleep(1.2)
quarky.stoprobot()
Copyright 2024 – Agilo Research Pvt. Ltd. All rights reserved – Terms & Condition | Privacy Policy