@StefanPochmann , could you help take a look at why the following got LTE?

class Solution(object):
def getFactors(self, n):
def dfs(nn,cur,res):
if nn==1 and len(cur)>1:
res.append([i for i in cur])
return
st=2 if not cur else cur[-1]
for i in xrange(st,nn+1):
if nn%i==0:
cur.append(i)
dfs(nn/i,cur,res)
cur.pop()
res=[]
dfs(n,[],res)
return res