Project Euler 102 - Triangle Containment

Official link:

Thought Process

I found the following WolframAlpha page: Triangle Interior

Now we can loop through the list and see if the point = (0, 0) is inside the triangle, don't forget to make v1 a vector and not a point!

Interactive Code

Follow the instructions below, make sure to include a space between numbers

Code will output if a point is inside a triangle that you define