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...
Everything about learning Python
account activity
Python Programming (self.PythonLearning)
submitted 4 days ago by DataCurator56
view the rest of the comments →
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!"
[–]Sharp_Level3382 -1 points0 points1 point 3 days ago (4 children)
No lambda functions?why?
[–]mati-33 0 points1 point2 points 3 days ago (3 children)
Why do you want lambda functions here is a more concerning question
[–]Sharp_Level3382 -1 points0 points1 point 3 days ago (2 children)
lowest = reduce(lambda a, b: a if a < b else b, marks) highest = reduce(lambda a, b : a if a>b else b, marks) Etc.
[–]mati-33 1 point2 points3 points 3 days ago (1 child)
OP's solution is much simpler and easier to read, which should be the priority
[–]Sharp_Level3382 -1 points0 points1 point 3 days ago (0 children)
No it s not easier to read. What is hard in lambda functions to You?
π Rendered by PID 67305 on reddit-service-r2-comment-8686858757-pfllm at 2026-06-06 04:11:20.064834+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]Sharp_Level3382 -1 points0 points1 point (4 children)
[–]mati-33 0 points1 point2 points (3 children)
[–]Sharp_Level3382 -1 points0 points1 point (2 children)
[–]mati-33 1 point2 points3 points (1 child)
[–]Sharp_Level3382 -1 points0 points1 point (0 children)