Why is my break statement not working in the if statement even though the print statement works?

后端 未结 0 1952
無奈伤痛
無奈伤痛 2020-12-05 14:17

I was writing a code to find the product of the first n prime numbers.

def num_primorial(n):
    print(str(n) + "---\\n2")
    prime_count = 1
    p         


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