Update Planet.py

Fixed syntax errors found with online interpreter