Hi Guys,
I'm currently making the transition from matlab to python and am having some difficulties with nesting for loops.
Below is a rough example of what I'm trying to do. However when this executes abc is only returned as [] and not a 1D array of each iteration.
Any help would be greatly appreciated.
n=5
abc=[]
for j in range(n-1,0):
for i in range(0,j):
a=2**i * 3**(j)
abc.append(a)
print abc