<commit_before>def inventory(arr) 
	return arr
end

def shopping(arr, item)
	return arr << item
end



store = []

store << "candy" << "gum" << "chips" << "soda" << "ice"

store.delete_at(2)

store.insert(2, "burrito")

store.delete("candy")

store.include?("gum")
"it is #{store.include?("gum")} that this store includes gum"

rival_store = ["cigarettes", "beer", "wine"]

# p rival_store + store
# p inventory(["candy", "gum", "chips"])
p shopping(["candy", "gum", "chips"], "wine")<commit_msg>Update arrays_drill.rb<commit_after>

{'fraction_non_alphanumeric': 0.2045028142589118, 'fraction_numerical': 0.00375234521575985, 'mean_word_length': 5.512195121951219, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 3, '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': '471154', 'n_tokens_mistral': 215, 'n_tokens_neox': 206, 'n_words': 49}