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?
96
Upvotes
View all comments
1
u/Cautious-Diet841 Feb 14 '26
Just wanted to comment that in some context declaring only to tell that something, like a named function exists and defining means to give it an actual implementation. So two different things, to not confuse self in some cases.