r/PythonLearning • u/autistic_lover214 • Oct 23 '26
Help Request Def return
I'm stuck in def return in python I don't understand it very well why is it used and how and where does the code return to ? The caller ? What is exactly the caller ?
Thank you so much for helping me
If you don't mind can u help me understand with examples ? Couldn't understand this with Chatgpt and yt
0
Upvotes
View all comments
2
u/RareHorse Oct 23 '26
If you're a visual learner, Bro Code has a very good explanation of how functions work.
https://youtu.be/89cGQjB5R4M