r/CodingHelp • u/Killiancin • Feb 14 '26
[Python] i seriously just cannot understand this...
So I'm really new to coding, and I just cannot understand this. I am using a payed website that helps me learn with activities and stuff but I mean, if I don't understand how can I do it? I've researched this for more than 4 hours today and just cannot understand.
I do not understand DEF, what comes after it, RETURN AREA, or what comes under the #...
Could someone please explain?
94
Upvotes
View all comments
Show parent comment
1
u/Lonely-Problem5632 Feb 16 '26
which is what he is doing ? PI x R x R
You could do PI X sqrt(R) . But then you have to import a math library, just to do a very simple multiplication. Which seems overkill, especially in a beginner tutorial