Implement draw_shape(pen, num_sides, side_length): the turn angle is 360 divided by the number of sides, repeated for each side with a for loop. Fewer than 3 sides raises ValueError.
Phase: MIL-003
Implement `draw_shape(pen, num_sides, side_length)`: the turn angle is 360 divided by the number of sides, repeated for each side with a `for` loop. Fewer than 3 sides raises `ValueError`.
Phase: MIL-003
Tirsvad
added this to the Milestone 003: Shapes and Random Color milestone 2026-10-07 18:02:01 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Implement
draw_shape(pen, num_sides, side_length): the turn angle is 360 divided by the number of sides, repeated for each side with aforloop. Fewer than 3 sides raisesValueError.Phase: MIL-003