Skip to main content

Section 5.2 Audio Tours

Activecode items can also include audio tours. These highlight one or more lines of code as they play audio describing that code.

.. activecode:: ch03_4
    :tour_1: "Overall Tour"; 1-2: Example04_Tour01_Line01; 2: Example04_Tour01_Line02; 1: Example04_Tour01_Line03;

    for name in ["Joe", "Amy", "Brad", "Angelina", "Zuki", "Thandi", "Paris"]:
        print("Hi", name, "Please come to my party on Saturday!")
You have attempted of activities on this page.