面题 P127 128
info = []def func():print(item)for item in range(10):info.append(func)info[0]() #for 循环后 item的值为: 9
info = []def func(i):def inner():print(i)return innerfor item in range(10):info.append(func(item))info[0]() #0 里面的值都是不一样
info[1]() #1
info[4]() #4