Return to parent.
Try at ideone.com (Use Python rather than Python 3).
Try at Xholon Chameleon. Select File > Open. Locate the Model > CompositeStructureHierarchy > Chameleon node (chameleon_0) in the tree. Select the entire above script, including the opening and closing <script> tags, and drag it on top of the Chameleon node. Or use copy and paste(Right-click the Chameleon node and select Edit > Paste Last Child). The result should appear in the Java Console.
Try at Xholon Bootstrap (Use alert instead of print).
Try at Codecademy (Use console.log instead of print).
Try at the Xholon Bestiary. Click on Start app. Then insert the entire above script, including the opening and closing <script> tags, into the Bestiary console. Press the Submit button, and watch for the result in the Java console. Use Pause and Unpause to control the pace. Sorry about all the cats and people running around and sounding off, but the Bestiary is their home.
Step 2: Insert (copy and paste, or drag and drop) the following XML class inheritance hierarchy as the last child of XholonClass. Press Ctrl-Space to select from a partial list of other quantities.
Step 3: Insert the following XML class details as the last child of XholonClass. Press Ctrl-Space to select from a list of possible ports.
Step 4: Insert the following XML composite structure hierarchy as the last child of Chameleon. Press Ctrl-Space to select from a list of valid quantities.
Step 5: Press the Refresh button on the Xholon Chameleon app. Locate a node that is probably a child of the Chameleon > PhysicalSystem node, and insert one of the following behavior scripts as the last child of that node. For example, a behavior script called Blockbehavior would typically be inserted as the last child of Block.
Edit and display with the svg-edit visual editor. Select Edit Source, and paste in the above lines starting and ending with the <svg> tags.
Display by pasting into your browser address bar, the above lines starting with data:image/svg+xml, and ending with the closing </svg tag.
Insert all of the above lines, including the opening and closing <SvgClient> tags, as the last child of Chameleon.
This page uses Xholon Workbook, Xholon webEdition, CodeMirror, and jQuery.