Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Area of a Convex Polygon by jacekgrycza
def checkio(data):
s=0
for i in range(len(data)):
s=s+(data[(i+1)%len(data)][0]-data[(i-1)%len(data)][0])*data[i][1]
return abs(s/2)
Nov. 4, 2016