def LaunchL(): global collide while collide == "False": PN.setheading(180) PN.forward(5) PN.speed(6) wn_canvas = wn.getcanvas() x,y = PN.p