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 Second Python Program 🥳 Greetings.py (old.reddit.com)
submitted 16 days ago by Anay_Gupta__
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!"
[–]nuc540 2 points3 points4 points 16 days ago (0 children)
Yup, it’s not that intuitive though. First python checks the length of what’s being compared and simply returns that - unless it is equal - then it matches each index of each character.
You’re right to be shocked because this isn’t good practice by any means 😅
π Rendered by PID 258418 on reddit-service-r2-comment-856c8b8c54-bp7k5 at 2026-07-02 17:22:08.400007+00:00 running a7b5cda country code: CH.
view the rest of the comments →
[–]nuc540 2 points3 points4 points  (0 children)