Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from finch import Finch
- from time import sleep
- xfinch = Finch()
- def square():
- for i in range(4):
- xfinch.wheels(1,1)
- sleep(1)
- xfinch.wheels(0,0)
- xfinch.wheels(-1,1)
- sleep(.45)
- xfinch.wheels(0,0)
- square()
Advertisement