Skip to main content
Logo image

Section 17 Interactive Coding

More interactive components, just for testing, no commentary.

Exercises 17.1 ActiveCode

ActiveCode, Python program.
Listing 17.1. An interactive Python program, using Runestone
Listing 17.2. An interactive Python program without codelens.

Exercises 17.2 CodeLens

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

Exercises 17.3 Activity with An ActiveCode

Something to do with ActiveCode program.

Activity 17.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 17.4 YouTube

Video, observable on a Runestone server.
Video cover image