Update python-2048.py

bug fix