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

CTO, Data Scientist & Chartered Engineer (MEng CEng EUR ING MRAeS) with over 20 years experience in the Aerospace, Rail & Energy Industry.