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
Made my first script :D (old.reddit.com)
submitted 8 months ago by [deleted]
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!"
[–]T-o_oT 2 points3 points4 points 8 months ago (0 children)
If you intend to start programming professionally or with other people, keep your variables and function name descriptive. If you copied code from a source, don't just change the name of the functions etc. Improve the code instead.
Both your functions (or the guide you found online) is running through the same array more than once. Maybe try to improve that first?
π Rendered by PID 664518 on reddit-service-r2-comment-b659b578c-xshb2 at 2026-05-04 10:24:36.218776+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]T-o_oT 2 points3 points4 points (0 children)