what is the program to find the given number is python or not?
using only for loop.

Hint ...
prime numbers are only divisible by unity and themselves
(by convention 1 is not considered a prime number)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.