O'Reilly logo
  • You Wang thinks this is interesting:

call expressions, two ways to make functions (def and lambda), two ways to manage scope visibility (global and nonlocal), and two ways to send results back to callers (return and yield).


Cover of Learning Python, 5th Edition


  1. call expression. 2. define functions. 3. scope. 4. send results back.