[[問題文>練習問題#w5561ad6]] a = [ 3, 5, 2, 4, 2 ] b = [a[0]] + [0] * (len(a)-1) print b for i in xrange(len(a)): if i > 0: a[i] = 0 print a