@staticmethod
def _ask(question, type_func=int):
    """
        Helper to gather answers and convert them with the type_func.

        Parameters
        ----------
        question: str
        type_func: function

        """
    while True:
        raw_input = None
        try:
            raw_input = input(f'{question}:').strip()
            value = type_func(raw_input)
            break
        except ValueError:
            print(
                f'Please try again - {raw_input} is not a valid {type_func.__name__}'
                )
    return value
