Shoelace formula for polygonal area: Difference between revisions
Shoelace formula for polygonal area (view source)
Revision as of 17:43, 27 September 2021
, 2 years ago→Python: Defined in terms of reduce and cycle: Section title amended by its original author
m (→Python: Defined in terms of reduce and cycle: Section title amended by its original author) |
|||
Line 1,371:
</lang>
===Python:
{{Trans|Haskell}}
{{Works with|Python|3.7}}
Line 1,418 ⟶ 1,417:
<pre>Polygonal area by shoelace formula:
[(3, 4), (5, 11), (12, 8), (9, 5), (5, 6)] -> 30.0</pre>
===Python: Alternate===
|