Usually, certain shapes have a set number of degrees that the internal angles add up to. For example, a square’s angles add up to 360°, while a triangle’s angles add up to 180°. For shapes that have sides of equal length, you will learn how to use a loop to write more efficient code.