r/Python • u/[deleted] • Mar 11 '20
I Made This Really simple simulation of virus spreading. Black dots are people, yellow dots are infected (it starts from 1). Each cell visited by an infected can infect other people passing through that for 3 iterations. After 20 iterations a person is infected is deleted from the grid.
1.4k
Upvotes
1
u/[deleted] Mar 12 '20
Well I don't know if im doing it wrong, but I copy and pasted the code into it. Hit run, saw it needed Numpy, downloaded Numpy. And now all it does is prints a number then ends