def Plan_point(N,A): d=0 for i in range(3): ... return(...,...,...,d)