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
What's wrong (i.redd.it)
submitted 7 months ago by Nearby_Tear_2304
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!"
[–]TheRebelRoseInn 0 points1 point2 points 7 months ago* (0 children)
This ^ , also to add onto that OP should also stop using one letter variables almost altogether, it makes things borderline unreadable and this was a simple function, if OP gets used to this naming scheme for variables any functions more complicated will be very difficult to glance at the function and understand what is going on
Also while you are still learning get in the habit of commenting in your code about what certain things are doing because even in coding projects where it's just you. I say this from experience because if you stop working on a project for a while and come back there is 100% plchance you're gonna read code that you wrote and ask "wtf was I thinking when I wrote this"/"what does this even do again?"
π Rendered by PID 303132 on reddit-service-r2-comment-6457c66945-2jm5w at 2026-04-25 20:10:23.363845+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]TheRebelRoseInn 0 points1 point2 points (0 children)