Skip to main content \(\require{cancel}\require{extpfeil}\newcommand{\definiteintegral}[4]{\int_{#1}^{#2}\,#3\,d#4}
\newcommand{\myequation}[2]{#1\amp =#2}
\newcommand{\indefiniteintegral}[2]{\int#1\,d#2}
\newcommand{\testingescapedpercent}{ \% }
\newcommand{\bvec}{{\mathbf b}}
\newcommand{\vvec}{{\mathbf v}}
\newcommand{\class}[2][\sim]{\lbrack #2\rbrack_{#1}}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\newcommand{\sfrac}[2]{{#1}/{#2}}
\)
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.