Print first N prime numbers using recursion in python

前端 未结 0 1819
悲哀的现实
悲哀的现实 2020-12-16 16:57

I don\'t know how may I approach this question. The code which I want to convert (from loops to recursion) is :-

def getprimes(n) :
    primes = []

    for a         


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