Ashraf Miah
Dec 11, 2022

--

Your function uses `x` and not `r` in the code. Despite the code being "simple" no one would have guessed it was intended to calculate the area of a circle.

--

--

Ashraf Miah

Data Scientist and Chartered Aeronautical Engineer (MEng CEng EUR ING MRAeS) with over 15 years experience in the Aerospace, Defence and Rail Industry.