Fix pylint warnings in playground.py