How to create a list of prime numbers from nums?

前端 未结 0 492
傲寒
傲寒 2021-01-22 07:48

def find_primes(nums): \'\'\' Finds all prime numbers in \'nums\' and returns those primes in a new list

Parameters:
----------
nums : list
    A list of integers         


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