a = [] for i in xrange( -20, 0, -1 ): a[i] = -(i) log.info('a[{i}]={v}'.format(i=i, v=a[i])) else: log.info('end')