def isPrime(n): 
    if n < 1 : 
        return False
    for i in range(2, n): 
        if n % i == 0: 
            return False
    return True
def printPrime(n): 
    for i in range(2, n + 1): 
        if isPrime(i): 
            print(i), 
if __name__ == "__main__" : 
    n = 100
    printPrime(n) 
