For this activity you will use functions, loops, if statements, input statement and variables. You will also add comments to each section. Create a flower and stem. The flower will be dependent on user input for the number of petals, between 3 and 10. The petals will determine the color as well. Six petals or less will make the petals purple. Seven to 10 petals and the color is red.
One loop:
One input statement: petals
Two if statements:
Radius of circles: 200 (divide by petals)
Angle for flowers is: left(360/petals)