Prints a descriptive list of all the shapes currently in the drawing,

computer science

Description

Extend the program in the file assign05start.py by implementing the four new commands:

shapes 

Prints a descriptive list of all the shapes currently in the drawing, numbered from 1 to however many shapes are currently in the drawing, with the least-recently drawn shape as number 1 and the most-recently drawn shape as the last number


delete 

Inputs a valid shape-number (as it would be listed by the shapes command) and removes that shape from the drawing


lift 

Inputs a valid shape-number (as it would be listed by the shapes command) and raises that shape up so that it’s drawn in font of all the other shapes in the drawing


Related Questions in computer science category