Forward students links to programs in Python Tutor and ask them to answer questions about how the code works to go over what happens during a function call to provide students in-depth practice.

  • Activity:
    • Send students a link to a simple function in Python Tutor.
    • Have students write code in python tutor.
    • Have students write down questions and answers to provide for the class.
    • Either have students exchange these links and questions or go over one of them as a class.

More about this tip

External Source

Interview with Owen Astrachan.