I checked your example with solar system. Since it&#x27;s calling directly document.getElementById, it would not be some valid Python code that I could run independently. Isn&#x27;t that defeating the purpose of coding in Python first?