Shoelace formula for polygonal area: Difference between revisions

Content added Content deleted
(→‎{{header|Python}}: Added a variant in terms of reduce and cycle)
Line 936:
 
 
# TEST ----------------------------------------------------
# main :: IO()
def main():