https://www.rankk.org/challenges/files/conway
It uses the print keyword instead of print function; also used xrange.
Fixed, thanks!