fromtkinterimport*importrandomimporttimeclassBall:def_init_(self,canvas,paddle,color):self.canvas=canvasself.paddle=paddleself.id=canvas.create_oval(10,10,25,25,fill=color)self.canvas.move(self.id,245,100)starts=[-3,-2,-1,1,2,3]random.shuffle(starts)self.