- Fixed syntax errors and PEP8 violations