Update index.py

omit final print of close tags (troubleshooting)