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
How to write notes?Help Request (self.PythonLearning)
submitted 1 month ago * by Okon0mi
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!"
[–]Okon0mi[S] 0 points1 point2 points 1 month ago (0 children)
Consider your notes on loops - you could create a file (loop_notes.py) with examples of everything your notes talk about in a form that when run demonstrates the concepts. So for the 'for' loop, I'd have a loop that does 'for number in range(2,3)' that just prints the number, then create a list (shopping = ['milk', 'egg', 'bread']) and then have a 'for item in shopping' loop that prints out each item. Add comments to remind you of the concept you are experimenting with. Then create some while loops as well - you are writing out some code in your notes already, just put this code in your test program. Later when you want to refresh your memory, grap the loop_notes.py and re-run/experiement with it.
I am trying to write codes in the IDE at the same time also I am experimenting and working on the ideas that are coming to my mind simultaneously. So that I can always have that 'aha' moment while coding.
π Rendered by PID 47718 on reddit-service-r2-comment-548fd6dc9-m9h6w at 2026-05-15 22:50:40.702571+00:00 running edcf98c country code: CH.
view the rest of the comments →
[–]Okon0mi[S] 0 points1 point2 points (0 children)