Re: creating a code with two list

2011-10-11 Thread Yaşar Arabacı
And also, I should recommend you to use Turkish speaking mail groups in here: python-programci...@googlegroups.com since your English is a little hard to comprehend. There are less people there, but, still would be more helpful for you. 11 Ekim 2011 17:11 tarihinde Yaşar Arabacı yazdı: > > > > y

Fwd: creating a code with two list

2011-10-11 Thread Yaşar Arabacı
your_final_list = [[str(i) + str(k) for i in range(len(liste))] for k in range(len(code))] -- http://yasar.serveblog.net/ -- http://yasar.serveblog.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: creating a code with two list

2011-10-11 Thread Chris Angelico
On Wed, Oct 12, 2011 at 12:49 AM, Nick Zarr wrote: range(1, 1000) > [1, 2, ..., 999] > Or for Python 3 compat: >>> list(range(1,1000)) ChrisA -- http://mail.python.org/mailman/listinfo/python-list

Re: creating a code with two list

2011-10-11 Thread Nick Zarr
> > liste = [] > > a = 0 > > > > while a<999 : > > a+=1 > > liste.append(a) > > I'm not sure I understand what you're trying to do here, but I don't have much time to answer right now. I just want to say there's an easier way to build a list of consecutive integers: range(1, n+1) >>> range(1, 100

creating a code with two list

2011-10-11 Thread selahattin ay
hi all, I want to create a code with two lists like this code = ['234', '333' .. ] liste = []a = 0 while a<999 :a+=1liste.append(a) now I want to create this sample : the first element of codes list is 234 than the all elements of liste are 1,2,3 .. now I want to this 23