Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True:
- lienzo.delete('all')
- lienzo.create_oval(x+10,40,x+100,100,fill = 'blue')
- if (x>300 or x <0):
- direction =direction*(-1)
- x+=1*direction
- lienzo.after(200)
- lienzo.update()
- main loop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement