# temp ```python def square(x): return x**2 ``` ```python def create_odds(num): """Creates a list of len(num) of random odd numbers between 1 and 1000""" return [2 * random.randint(1, 500) - 1 for _ in range(num)] def create_evens(num): """Creates a list of len(num) of random even numbers between 1 and 1000""" return [x + 1 for x in create_odds(num)] ``` ```python def check_for_val(self, val): """This member function checks to see if val exists in the class member values and returns True if found""" return val in self.values ``` ```python def get_val_index(arr, val): return arr.index(val) if val in arr else -1 ``` ```python def print_sorted(arr): """Prints the items in the array after sorting""" for num in sorted(arr): print(num) ```