And also, I higly recommend against using lists named list. That means
overwriting builtin list object.
2011/10/12 Andreas Perstinger
> On 2011-10-12 13:15, selahattin ay wrote:
>
>>
>> hi all, I wrote these codes but the program must write the prints to a
>> text file...
>> code = [100, 200, 3
On 2011-10-12 13:15, selahattin ay wrote:
hi all, I wrote these codes but the program must write the prints to a text
file...
code = [100, 200, 300, 400, 500]
list= []
a = 0
while a< 9:
a+=1
list.append(a)
last_list = [[int(str(i) + str(k)) for i in code] for k in list]
list2= []
hi all, I wrote these codes but the program must write the prints to a text
file...
code = [100, 200, 300, 400, 500]
list= []
a = 0
while a < 9:
a+=1
list.append(a)
last_list = [[int(str(i) + str(k)) for i in code] for k in list]
list2= []
b = 0
while b < 9:
b+=1
list2.appen