<reponame>alen2/python-programs
# This is a sample Python script.

# Press Shift+F10 to execute it or replace it with your code.
#
num=int(input("enter the number"))
flag=False
if num>1:
    for i in range(2,num):
        if(num%i)==0:
        flag=True
        break
if flag:
    print(num, "is not a prime number")
else:
    print(num,"is a prime number")







# See PyCharm help at https://www.jetbrains.com/help/pycharm/

# This is a sample Python script.

# Press Shift+F10 to execute it or replace it with your code.
#
num=int(input("enter the number"))
flag=False
if num>1:
    for i in range(2,num):
        if(num%i)==0:
        flag=True
        break
if flag:
    print(num, "is not a prime number")
else:
    print(num,"is a prime number")







# See PyCharm help at https://www.jetbrains.com/help/pycharm/
# This is a sample Python script. # Press Shift+F10 to execute it or replace it with your code. # # See PyCharm help at https://www.jetbrains.com/help/pycharm/