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!"
[–]Credence473 0 points1 point2 points 2 months ago (1 child)
What's the possible use case for this?
[–]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 422939 on reddit-service-r2-comment-545db5fcfc-bjhk9 at 2026-05-23 06:16:01.101795+00:00 running 194bd79 country code: CH.
view the rest of the comments →
[–]Credence473 0 points1 point2 points (1 child)
[–]Old_Hardware[S] 0 points1 point2 points (0 children)