I want to check if a number is prime or not,but the code below is not working,when i input 65 it shows,this is a prime number

后端 未结 0 1497
感动是毒
感动是毒 2021-01-29 00:57
def prime (num) :
    if num == 1 or num == 0 or num == 2:
        return \'This is not a prime number\'
    for number in range(2         


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