mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
Remove duplicated return statement in area_reg_polygon (#14362)
This commit is contained in:
committed by
GitHub
parent
32a3d0d0bb
commit
af131b7c3f
@@ -552,7 +552,6 @@ equal to three as number of sides"
|
||||
length of a side"
|
||||
)
|
||||
return (sides * length**2) / (4 * tan(pi / sides))
|
||||
return (sides * length**2) / (4 * tan(pi / sides))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user