cornersA = []
p=0
q=0
i=0
while p<=5000:
w=[]
w=(p,q)
p+=100
q+=200
i+=1
cornersA.append(w)
print 'cornersA=',cornersA
---------------------------------------------------------------
p=0
w = []
while p<5000:
p+=100
q=0
while q<=4000:
w=(p,q)
q+=100
cornersA.append(w)
else:continue
else:
pass
print 'cornersA=',cornersA