Update play.py

added python version check