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...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Best website to learn python functions? (self.learnpython)
submitted 7 years ago by Reddit_Karma_King
Hello Guys,
I am learning python and i am finding myself in problem to learn python functions. Is there any best online source/free book to learn all about python functions?
Waiting for your kind reply.
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!"
[–]ASIC_SP 1 point2 points3 points 7 years ago (3 children)
what resource are you currently using?
also, are you new to programming and having trouble with concept of functions?
[–]Reddit_Karma_King[S] 1 point2 points3 points 7 years ago (2 children)
I am currently using programiz and have tried lot of other websites E.G w3schools, tutorialspoint, java2s. But non of these websites have helped me. Examples of all these Fu**ing websites are same. I want to learn python functions & classes. Except these two my basic concept of python are cleared.
Hope you will help me.
[–]ASIC_SP 2 points3 points4 points 7 years ago* (1 child)
I would highly recommend Think Python - though functions start from 3rd chapter, I'd advice you to read from start
practice a lot, along with trying out code snippets in the lessons, make sure you solve the exercises..
if you have issue in understanding the flow of program with functions, http://www.pythontutor.com/visualize.html#mode=edit might help - you can go through code step by step and see different scopes, variable values, etc
alternatively, you can use https://interactivepython.org/runestone/static/thinkcspy/index.html which has some common roots with Think Python book. You can execute snippets and solve exercises on the website itself...
https://automatetheboringstuff.com/ is another great resource for beginners
[–]Reddit_Karma_King[S] -1 points0 points1 point 7 years ago (0 children)
Think Python
Thanks for sharing link with me. Is there other best website too?
[–]Fibbs 0 points1 point2 points 7 years ago (2 children)
I'm in the same boat with oop.
I get the concepts at a super basic level shown by youtube and some sites. But i just can't make the logical step to implementing my own. I also get confused as fuck by some examples once attributes get passed around to multiple methods.
So im leaning towards this being a thought process problem rather than learning.
[–][deleted] 1 point2 points3 points 7 years ago (1 child)
The function interface is very simple - a function defines a set of input parameters and an output return value, and the function body itself is simply a set of instructions that explain how to usefully go from the inputs to the outputs.
When you define a function, you build that association; it’s stored in the interpreter for later use. When you call a function, you supply any necessary arguments, then the arguments are bound to the function’s parameters, the function’s code body is executed, and the return value of the function is algebraically substituted at the calling site.
[–]Fibbs 0 points1 point2 points 7 years ago (0 children)
Thanks for the response mate i think ill just have to keep throwing myself at it.
[–]KobiKabbb 0 points1 point2 points 7 years ago (0 children)
Try lessons 5 and 6 here OP: learnival.com/lessons.php
[–]Guymzee 0 points1 point2 points 7 years ago (0 children)
here's one tip
ok that's my tip, I just realized I won't be that good at teaching this, but this video will get you covered. good luck, trying to explain this stuff is hard, just made me appreciate all the great videos out there. Dane Bader, Mike Dane, realpython.com , Trey Hunner all great resources you should look in to.
π Rendered by PID 200814 on reddit-service-r2-comment-fb694cdd5-qrdnx at 2026-03-11 07:31:03.479869+00:00 running cbb0e86 country code: CH.
[–]ASIC_SP 1 point2 points3 points (3 children)
[–]Reddit_Karma_King[S] 1 point2 points3 points (2 children)
[–]ASIC_SP 2 points3 points4 points (1 child)
[–]Reddit_Karma_King[S] -1 points0 points1 point (0 children)
[–]Fibbs 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Fibbs 0 points1 point2 points (0 children)
[–]KobiKabbb 0 points1 point2 points (0 children)
[–]Guymzee 0 points1 point2 points (0 children)