@@ -0,0 +1,574 @@
+import math%0A%0A%0Adef check_prime(number, primes):%0A    limit = math.sqrt(number)%0A    for prime in primes:%0A        if prime %3E limit:%0A            return True%0A        if number %25 prime == 0:%0A            return False%0A    return True%0A%0A%0Adef solution(i):%0A    primes = %5B%5D%0A    number = 2%0A    while len(primes) %3C (i + 5):%0A        is_prime = check_prime(number, primes)%0A        if is_prime:%0A            primes.append(number)%0A        number += 1%0A    five_digit = %22%22.join(%5Bstr(x) for x in primes%5D)%5Bi : i + 5%5D%0A    return five_digit%0A%0A%0Aprint(solution(0))%0Aprint(solution(3))%0Aprint(solution(30))%0A

Add Google foobar question 1