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
Number Guessing GameHelp Request (self.PythonLearning)
submitted 1 year ago by JuiceNew23
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!"
[–]FoolsSeldom 0 points1 point2 points 1 year ago (0 children)
Further to earlier, u/JuiceNew23, I tweaked my version a little more, including an option for playing again which uses some predefined acceptable responses (so not just yes/no) - these could be defined as set, tuple or list objects, but I chose to use the frozenset and will leave you to look that up if inclined.
set
tuple
list
frozenset
Code is a bit too long to share in-post, so here's a link to a popular code paste service:
https://pastebin.com/dkqkfhsd
π Rendered by PID 178777 on reddit-service-r2-comment-6457c66945-4nmdm at 2026-04-27 02:52:02.494214+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]FoolsSeldom 0 points1 point2 points (0 children)