Generation

generate functionFri, 09 Dec 2022

moving a ball randomly

def moveBallRandomly(): x = random(0, width) y = random(0, height) ballX = x ballY = y moveBallRandomly()

Questions about programming?Chat with your personal AI assistant