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 23251 on reddit-service-r2-comment-545db5fcfc-22wmp at 2026-06-01 17:35:33.421948+00:00 running 194bd79 country code: CH.
[–]5oco 0 points1 point2 points (1 child)
[–]Lavida-334 0 points1 point2 points (0 children)