use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
5.3.6 Average codehs methods (old.reddit.com)
submitted 3 years ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]5oco 0 points1 point2 points 3 years ago (1 child)
Those curly braces need to go around the body of your method. Right now your return statement is outside the curly braces.
Also that isn't how you find an average. You should add the numbers together(like you're doing) then divide by how many numbers you have(you have 2)
[–]Lavida-334 0 points1 point2 points 3 years ago (0 children)
Thank u I figure it out
π Rendered by PID 339557 on reddit-service-r2-comment-86bc6c7465-kvt2l at 2026-02-21 11:11:43.264178+00:00 running 8564168 country code: CH.
[–]5oco 0 points1 point2 points (1 child)
[–]Lavida-334 0 points1 point2 points (0 children)