<commit_before># Die Class 2: Arbitrary Symbols


# I worked on this challenge by myself.
# I spent 1 hours on this challenge.

# Pseudocode

# Input: An array of strings
# Output: A randomly selected string from the array
# Steps:
# -Define a method that accepts an array of strings as an input.
# -RAISE an error IF the array passed is empty
# -Find the length of the array for 'sides' method.
# -Return a random string from the array when 'Die.roll' is called.

<commit_msg>1 hour is not plural dude<commit_after># Die Class 2: Arbitrary Symbols


# I worked on this challenge by myself.
# I spent 1 hour on this challenge.

# Pseudocode

# Input: An array of strings
# Output: A randomly selected string from the array
# Steps:
# -Define a method that accepts an array of strings as an input.
# -RAISE an error IF the array passed is empty
# -Find the length of the array for 'sides' method.
# -Return a random string from the array when 'Die.roll' is called.


{'fraction_non_alphanumeric': 0.06632124352331606, 'fraction_numerical': 0.0051813471502590676, 'mean_word_length': 3.644230769230769, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5740757', 'n_tokens_mistral': 292, 'n_tokens_neox': 272, 'n_words': 157}