Python solution to project euler problem 9 from here https://projecteuler.net/problem=9
This was a fun one. We know a 3,4,5 triangle. It turns out there are other perfect squares. So we find every combination of positive a,b,c where a+b+c = 1000 and then check if a^2 + b^2 = c^2.
I ran A and B up to 500 but I suspect it could have been less since C needed to be greater than A or B
All code
Copyright 2021 Google LLC
SPDX-License-Identifier: Apache-2.0
https://www.apache.org/licenses/LICEN...
The Snake image in the thumbnail - by Vecteezy https://www.vecteezy.com/vector-art/4...