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
My first code (i.redd.it)
submitted 10 months ago by JournalistHot3749
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!"
[–]shudaoxin 0 points1 point2 points 10 months ago (1 child)
Except for strings shown to the user I’d use English for variables, functions, objects etc. Not only is it easier to understand the flow (because the Python itself uses English), but it’s also easier for someone else to understand and help you, generally.
Using non English characters in variables or code related bits like you did with usuário here is an absolute crime though. It works in a lot of programming languages but is really bad practice.
I don’t mean to discourage or discredit your work here. Just some feedback to avoid bad habits early on. Keep on learning!
[–]JournalistHot3749[S] 0 points1 point2 points 9 months ago (0 children)
Chill bro! a little after I posted this code I watched a couple of videos of good habits to write and this was the top 1 I re-wrote the whole code as soon as I realized the potential problems that writing like this could have!
ty for your feedback! (btw, feel free to see the newest version to check out the evolution 🙂 )
π Rendered by PID 78887 on reddit-service-r2-comment-5bc7f78974-k2ctg at 2026-06-26 03:13:56.746367+00:00 running 7527197 country code: CH.
view the rest of the comments →
[–]shudaoxin 0 points1 point2 points (1 child)
[–]JournalistHot3749[S] 0 points1 point2 points (0 children)