hi! i want to make a program, that moves an object in vertical line 'till the program ends,but when it reaches the upper border, automatically appear in the lower border.
i have this
from utalcanvas import *
import time
show()
window_size(500,500)
window_style( "Mi Ventana", "black")
window_coordinates(0,0,1000,1000)
circulo = create_filled_circle(500,20,50,"green")
for x in range(100):
y = 10
x = 0
time.sleep(0.0150)
move(circulo, -x, y)
window_update()
"utalcanvas" is an updated version of pythong and practically identical to Tkinter, so the code is the same. i've thinking in a "for i in range(something)" for the loop of vertical movement, but i dont know how to implement it.
I've been fighting with this, hope any one can help me.