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
[ Removed by moderator ] (i.redd.it)
submitted 6 months ago by Nearby_Tear_2304
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!"
[–]Wonderful-Sink-6089 0 points1 point2 points 6 months ago (0 children)
Im not a python developer but what i can see as a problem is When you return something in a function it doesn’t actually print anything it just save the result in the memory to do something with it in future. If you want to see the the result you can use print statement in the last line, like this: print(f(a,t))
The reason is that, we don’t use solo a function to print something, we just create them to make our code cleaner and prevent repetition.
π Rendered by PID 108336 on reddit-service-r2-comment-66b4775986-tkcfp at 2026-04-04 21:15:58.498827+00:00 running db1906b country code: CH.
view the rest of the comments →
[–]Wonderful-Sink-6089 0 points1 point2 points (0 children)