python changing location using for loop
I want to change location by putting command but got trouble in for loop All I want is put R R R U D D and get (3,4) location here is my code x,y = first start point N= size of map N=5 x,y = 1,1 I define left(-1,0), right(1,0), upper(0,-1), down(0,1) def L(x,y): if… Read More python changing location using for loop