def calculateSubstringsLengthK(s, k):
    """
    Return substrings of size k in s
    """
    substrings, index = [], 0
    while index + k <= len(s):
        substrings.append(s[index : index + k])
        index += k
    return substrings