def input_integers(message):
    """Handle inputs if they are supposed to be integers"""
    while True:
        answer = input(message)
        try:
            answer_int = int(answer)
            return answer_int
        except ValueError:
            if answer.casefold() == 'none':
                return None
            else:
                print('Please enter an integer')
