Complete the project by adding in 2 extra conditions to allow the program to draw a triangle and a hexagon. Use the square section to help you work out what you need to do. The formula to calculate the number of degrees to turn is: 360 divided by the number of sides the shape has.