Convert The Python Functions Into Haskell Code Y Is

Convert The Python Functions Into Haskell Code Y Is