Zachary Ware added the comment:
This is not a bug; division changed in Python 3 such that `/` is the "true
division" operator, whereas `//` is the "integer division" operator.
Note that this was actually added in Python 2.2, though it was guarded by `from
__future__ import division` for the
New submission from Xinmeng Xia :
The snake game will report a crash in Python3:
Traceback (most recent call last):
File "/home/xxm/Desktop/instrument/datasetpy3/Snake_game/runGame.py",line 20,
in
w.addch(food[0], food[1], curses.ACS_PI)
TypeError: integer argument expected, got float