下面的程序是什么問(wèn)題:def count():fs = []k=0for i in range(1, 4):def f(j):def g():return j*jreturn gr=f(i)k=r()fs.append(k)return fsf1= count()print f1()解釋結(jié)果:Traceback (most recent call last):File "index.py", line 15, in print f1()TypeError: 'int' object is not callable
關(guān)于python問(wèn)題?
哆啦的時(shí)光機(jī)
2018-07-22 22:13:28