Sezione 2. Capitolo 6
single
Challenge: Scaling
Scorri per mostrare il menu
Compito
Scorri per iniziare a programmare
Practice your skills with geometric transformations by scaling polygons. Given a polygon represented as a list of (x, y) coordinate tuples and a scaling factor, return a new list of tuples representing the scaled polygon.
- Multiply each
xandycoordinate in the polygon byscale_factor. - Construct and return a new list of scaled
(x, y)tuples.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 6
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione