0
lambdas
can someone help me to put this code into a lambda function. def solution(i): a=[2] if i==0 or i==1 : g=5 else: g=i+3 for l in range(g): n = a[-1] n=next_prime(n) a.append(n) b = "".join(map(str, a)) return b[i:i+5]
1 Respuesta
+ 3
Why do you even need that?