Write a program that upon a mouse click moves the turtle to


Problem

Write a (turtle) program that upon a mouse click moves the turtle to a randomly chosen position with coordinates between -300 and +300 and stamps the current shape at that location. Your program should cycle through three shapes (circle, square and triangle) using a state variable with values 1, 2, and 3 corresponding to each shape, and also randomly choose the size of the shape (between 1 and 5). Besides the handler for the click event also write a handler for the q key to quit the program.

Request for Solution File

Ask an Expert for Answer!!
Database Management System: Write a program that upon a mouse click moves the turtle to
Reference No:- TGS02708086

Expected delivery within 24 Hours