<!--- Provide a general summary of the issue in the Title above --> # Description <!--- Describe the issue in detail --> The python version of the `activecode` is incomplete, so it raises error. ## Version <!--- Which book version (cppds or cppds-v2) does this relate to? --> <!--- If unsure, just say so, but also give a screenshot --> cppds2 ## Motivation and Context <!--- Why is this change suggested? What problem does it solve? --> To make the code consistent across Python and C++ ## Screenshots (if appropriate) <!--- Screenshots are not required, but they can be helpful! --> 