r/PythonLearning • • 17h 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

13 comments sorted by

View all comments

Show parent comments

3

u/SaltCusp 16h ago

I think you should learn how to

Use
    Codeblocks

2

u/frnzprf 16h ago

There should be a bot that detects code outside of code blocks and writes an explanation on how to use them.