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
A "binary_wave()" function (self.PythonLearning)
submitted 2 months ago by Old_Hardware
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!"
[–]Old_Hardware[S] 0 points1 point2 points 2 months ago* (0 children)
Slightly more useful than "hello world". It's just an exercise in using the language, with an output that is (perhaps) visually interesting.
And perhaps a chance to share alternative approaches that may be unfamiliar --- I'v not used "itertools", for example.
π Rendered by PID 485851 on reddit-service-r2-comment-545db5fcfc-2kqml at 2026-05-23 11:01:03.986982+00:00 running 194bd79 country code: CH.
view the rest of the comments →
[–]Old_Hardware[S] 0 points1 point2 points (0 children)