Advertisement
Enrro

Solucion limpia de circulo 101027

Oct 10th, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. while True:
  2. lienzo.delete('all')
  3. lienzo.create_oval(x+10,40,x+100,100,fill = 'blue')
  4. if (x>300 or x <0):
  5. direction =direction*(-1)
  6. x+=1*direction
  7. lienzo.after(200)
  8. lienzo.update()
  9.  
  10. main loop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement