Секція 2. Розділ 6
single
Challenge: Scaling
Свайпніть щоб показати меню
Завдання
Проведіть, щоб почати кодувати
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 6
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат