def calculateNGrams(text, n):
    """Obtain the n-grams given a string TEXT and a number N to subdivide it
    
    Keyword arguments:
    text -- the word where the n-gram operation would be applied
    n    -- number of characters per n-gram

    As the complexity of the python operation for slicing is
    O(K) being K number of characters per n-gram and its within a loop we can conclude that the resulting
    complexity would be O(K*n) being n the size of the given string
    """

    return ([text[i:i+n] for i in range(len(text)-n+1)])