<commit_before># Given 2 int arrays, a and b, each length 3, return a new array length 2
# containing their middle elements. 

# middle_way([1, 2, 3], [4, 5, 6]) -> [2, 5]
# middle_way([7, 7, 7], [3, 8, 0]) -> [7, 8]
# middle_way([5, 2, 9], [1, 4, 5]) -> [2, 4]

def middle_way(a, b):
  return ([a[1], b[1]])
  
print(middle_way([1, 2, 3], [4, 5, 6]))
print(middle_way([7, 7, 7], [3, 8, 0]))
print(middle_way([5, 2, 9], [1, 4, 5]))<commit_msg>Update middle_way.py<commit_after># Given 2 int arrays, a and b, each length 3, return a new array length 2
# containing their middle elements. 

# middle_way([1, 2, 3], [4, 5, 6]) --> [2, 5]
# middle_way([7, 7, 7], [3, 8, 0]) --> [7, 8]
# middle_way([5, 2, 9], [1, 4, 5]) --> [2, 4]

def middle_way(a, b):
  return ([a[1], b[1]])
  
print(middle_way([1, 2, 3], [4, 5, 6]))
print(middle_way([7, 7, 7], [3, 8, 0]))
print(middle_way([5, 2, 9], [1, 4, 5]))
{'fraction_non_alphanumeric': 0.2544642857142857, 'fraction_numerical': 0.10491071428571429, 'mean_word_length': 3.9833333333333334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6244818', 'n_tokens_mistral': 462, 'n_tokens_neox': 399, 'n_words': 138}