HTML

kaitlynbowman 10.py

Nov 18th, 2016
132
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. from finch import Finch
  2. from time import sleep
  3. finch = Finch()
  4.  
  5.  
  6. distance = input(int("How far do you want to go?"))
  7.  
  8. def travel(distance):
  9.     finch.wheels(.05,.05)
  10.     sleep(distance)
  11.     finch.wheels(0,0)
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment