The output of this code is memory error. I
ve tried different examples of the code and find out that the problem is in loop in the loop. I want this loop to decrease a by 1 after a becomes 10. But it doesnt work I can`t understand why?.
Replace this line with your code. is_56 =  c=0 for a in range(10): a+=1 lis_56.append(a) if a == 10: for a in lis_56: a -=1 lis_56.append(a) else: print lis_56 print lis_56