Hi,
I need help creating nested lists
my code follows
I want final output like this
mo[ae[],af[],ag[],be[], ....... cg[]] instead of mo[ae,af,ag,be, ....... cg]
How to get this??? I've searched in this forum and couldn't find an answer.
Thanks,
Rajasankar
I need help creating nested lists
my code follows
Code:
test = ["a","b","c"]
testtwo = ["e","f","g"]
mo = []
for i in range (0,len(test)):
for j in range(0,len(testweb)):
moa = test[i]+testweb[j]
mo.append[moa]
mo[ae[],af[],ag[],be[], ....... cg[]] instead of mo[ae,af,ag,be, ....... cg]
How to get this??? I've searched in this forum and couldn't find an answer.
Thanks,
Rajasankar
Comment