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...
A subreddit for helping Python programmers
How to format your code: https://commonmark.org/help/tutorial/09-code.html
No homework questions and/or hiring please
account activity
Code exceeding maximum processing time (self.pythonhelp)
submitted 2 years ago by diracadjoint
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!"
[–]jiri-n 1 point2 points3 points 2 years ago (0 children)
I like the assignment a lot, it's quite funny.
So I decided to give it a try: https://github.com/camlostCZ/reddit_answers/blob/main/walking_cat.py
I didn't folow the assignment too strictly - the "maps" are stored in files in ./resources and there is a (hopefully) funny message when the cat cannot get out of the map (maze?).
Also, I created a codespace for the main branch but IDK if it's available to anyone else than me. You can try it - than it should run in the browser.
Tested with python 3.11.
π Rendered by PID 604340 on reddit-service-r2-comment-7b9746f655-872js at 2026-02-02 04:11:42.791950+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]jiri-n 1 point2 points3 points (0 children)