def inputLoop(inputList):
    """
    This is a simple function that takes as input a list of strings.
    The function is a while loop to catch one of the terms of the list from the command line. 
    Verifies whether the input is in the input list, otherwise asks again. 
    """
    string = ""
    string += "Please choose one input from ["
    for i in inputList:
        string += i
        string += ","
    string = string[:-1]
    string += "]: "
    inputString = ""
    while True:
        inputString = input(string)
        if(inputString in inputList):
            return inputString
        else:
            continue