Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 368 Bytes

Sum_of_angles.md

File metadata and controls

37 lines (19 loc) · 368 Bytes

CodeWars Python Solutions


Sum of angles

Description:

Find the total sum of angles in an n sided shape. N will be greater than 2.


Given Code

def angle(n):
    pass

Solution

def angle(n):
    return (n - 2) * 180

See on CodeWars.com