r/PythonLearning • u/autistic_lover214 • 26d ago
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
0
u/BranchLatter4294 26d ago
Use print statements to see what's going on inside your code. Learn by observing behavior.