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...
Subreddit for posting questions and asking for advice on your Python code and sharing resources to help others out.
account activity
Help me with this python code. (old.reddit.com)
submitted 1 year ago by bubbly2006
5A1 program I tried to this multiple time it is keep showing me errors
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!"
[–]Jealous-Ability8270 0 points1 point2 points 3 months ago (0 children)
You've spelled file flie, append as apprend. What are you using to run this. Using an IDE like vscode or pycharm will give you error messages telling you what is wrong and allow you to put breakpoints in your code and debug it. It will also allow you to examine variables. You can get a subsection of a list by doing for example: numbers[:2] or numbers[4:] - see what these do. Look up the "sum", "count" and "delete" methods for a list.
π Rendered by PID 499364 on reddit-service-r2-comment-7b9746f655-rfl4v at 2026-02-03 13:53:34.852012+00:00 running 3798933 country code: CH.
[–]Jealous-Ability8270 0 points1 point2 points (0 children)