title: can return statement only be used inside of the definition of a function in python?
body: <p>New to python and hope this is not trivial. I searched through google, and did not find a related answer. </p>
  
  <p>This is a loosely related answer. I understand all of it, while it does not answer my question. 
  <a href="https://stackoverflow.com/questions/7129285/why-would-you-use-the-return-statement-in-python">Why would you use the return statement in Python?</a></p>
  
  <p>Thank you very much for your time and attention.</p>