Skip to content

Instantly share code, notes, and snippets.

View humachine's full-sized avatar

Swarun Krishna humachine

View GitHub Profile
@humachine
humachine / Ant_Grid
Created September 15, 2014 11:57
Ant_Prob
import sys
import numpy as np
prev=np.zeros((7,7))
now=np.zeros((7,7))
prev[3,3]=1
N=15
for i in range(N):
# print prev
for x in range(1,6):