def validate_int(prompt_text="Please enter an integer: ",err_text="Please make sure that you entered an INTEGER"):
    """
    Prompts, returns and validates that the input is an integer, if not, it warns 
    Takes in 2 arguments: prompt_text and error_text - the text that user wants to be the prompt
    and the text that displays when the input is not valid. The defaults are: 
    prompt_text = "Please enter an integer: " error_text = "Please make sure that you entered an INTEGER"
    """
    while True:
        try:
            user_input = int(input(f"{prompt_text}"))
        except ValueError:
            print(f"{err_text}")
        else:
            return user_input