Skip to main content
Logo image

Section 18 Interactive Coding

More interactive components, just for testing, no commentary.

Exercises 18.1 ActiveCode

ActiveCode, Python program.
Listing 18.1. An interactive Python program, using Runestone
Listing 18.2. An interactive Python program without codelens.

Exercises 18.2 CodeLens

A steppable Python program.
Listing 18.3. A Python program, stepable with CodeLens

Exercises 18.3 Activity with An ActiveCode

Something to do with ActiveCode program.

Activity 18.1. Activity Coding Exercise.

Similar to above, but now as a complete Python program inside an <activity>. This demonstrates the possibility to use any “project-like” block (<project>, <activity>, <exploration>, <investigation>), but not in the case when structured with <task>.
Answer.
We’re still not really sure.

Subsection 18.4 YouTube

Video, observable on a Runestone server.
Video cover image