Return to Coding in Python with artEoz – exercises

Python function calls and call stack

  1. Open a new plain code frame and enter the following java code:
  1. Select the Unreferenced objects in the options menu, play with the arrow buttons to run the code step-by-step.
    Observe the different stacked elements. The running instruction is in blue in the code panel.
  2. Open a new plain code frame and enter the following python code which define and call a recursiv function: