This is a very simple Haskell code to find all Pythagorean integers from 1 to 200 that satisfy the Pythagorean theorem X ^ 2 = Y ^ 2 Z ^ 2
Haskell:
let l = [1..200]
let pythagoras = [x
This is a very simple Haskell code to find all Pythagorean integers from 1 to 200 that satisfy the Pythagorean theorem X ^ 2 = Y ^ 2 Z ^ 2
Haskell:
let l = [1..200]
let pythagoras = [x