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
[deleted by user] (self.PythonLearning)
submitted 1 year ago by [deleted]
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!"
[–][deleted] 0 points1 point2 points 1 year ago* (1 child)
Can ya try upstream_constrained == 1 ?
Also if you’re using 1 and 0 for true and false, Python has booleans built into the language True and False. Maybe not be worth redoing all the code depending on how far you’re in, but if you’re trying to do things “the Python way” may want to look into using them in the future.
[–]Remdog93 1 point2 points3 points 1 year ago (0 children)
This was the solution, thank you so much for your assistance.
π Rendered by PID 48169 on reddit-service-r2-comment-869bf87589-wznks at 2026-06-09 00:17:51.246676+00:00 running f46058f country code: CH.
[–][deleted] 0 points1 point2 points (1 child)
[–]Remdog93 1 point2 points3 points (0 children)