'Verify that k is a positive integer.'

def validate_arguments(self):

    if ((int(self.k) != self.k) or (self.k <= 0)):
        raise ValueError('Second    argument    must    be    a    positive    integer.')
