Created
September 24, 2012 21:15
Conway's Game of Life in an IPython Notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Kay1223: It should work fine with Python 2.7
To make this work in Python 3, replace all xrange
with range
(3 replacements) and also replace length/2
with length//2
. Then it works fine in Python 3.8.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does not work... because of "xrange" is not defined, my notebook said.