# Check whether a given number is  prime or not '''Writea Python program to check whether a given number is a prime or not. or    Write a program to check whethera given number is a prime or not usingPython '''import mathnum=int(input("Enter a number:"))count=0for i in range(2,int(math.sqrt(num))+1):   if num%i==0:      count+=1if count==0:        print("It is Prime")else:      print("It is not Prime")