def isprime(i):
    """ 
    input: 1, a positive integer 
    i > 1 
    returns True if i is a prime number, False otherwise 
    """
    if i > 1:  
        count = 0
        for z in range(2,i+1):
            if (i % z) == 0:
                count +=1
        if count > 1:
            return False
        if count == 1:
            return True
    else:   
        return False