Are you sure?
Do you want to delete “Bouncing Ball” permanently? You will not be able to undo this action.
import math import icons Rectangle(color='skyblue') myBall=Circle(x=10, y=10, color=['darkturquoise', 'lightseagreen','seagreen'], width=20, height=20) #create lists loopList=range(17) xCoord=[10, 15,20, 25,30, 35,40, 45,50,55,60, 65, 70, 75, 80, 85,90] for i in loopList: with animation(duration=0.5): myBall.x=xCoord[i] if xCoord[i] <=50: myBall.y=(abs(1-math.cos((((xCoord[i]-10)/40)*1.57142)))*80)+10 else: myBall.y=(abs(1-math.sin((((xCoord[i]-50)/40)*1.57142)))*80)+10