首页 新闻 会员 周边 捐助
1
回答数

已解决问题 Python小白求解答

flist = [] for i in range(3): def foo(x): print (x + i ) flist.append(foo) for f in flist: f(2)1、f(2