Finding the consecutive prime sum in Python

前端 未结 0 1018
长情又很酷
长情又很酷 2020-12-29 12:59

This is my code to find the prime numbers which can be expressed as sum of other consecutive prime numbers:

def is_prime(n):
    if n in [0,1]:
        return         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题