

#Find Prime Number


# Loop statements may have an else clause
#
# It is executed when the loop terminates
# But not when the loop is terminated by a break statement
#

for n in range(2, 200):
    for x in range(2, n):
        if n % x == 0:
            print n, 'equals', x, '*', n/x
            break
    else:
        # loop fell through without finding a factor
        print n, 'is a prime number'
