# Note this prefix code is to verify that you are not using any for loops in this exercise. This won't affect any other functionality of the program.withopen(__file__)asf:content=f.read().split("# <nofor>")[2]if"for "incontent:print("You should not use for loop or the word for anywhere in this exercise")# The values of the below variables will be changed by the evaluatorint_iterable=range(1,10,3)string_iterable=["Apple","Orange","Banana"]some_value=4some_collection=[1,2,3]# list | set | tuple some_iterable=(1,2,3)another_iterable={"apple","banana","cherry"}# can be any iterableyet_another_iterable=range(1,10)# <nofor># <eoi>empty_list=...empty_set=...# be carefull here you might end up creating something called as an empty dict empty_tuple=...singleton_list=...# list: A list with only one elementsingleton_set=...# set: A set with only one elementsingleton_tuple=...# tuple: A tuple with only one elementa_falsy_list=...# list: a list but when passed to bool function should return False.a_falsy_set=...# set: a list but when passed to bool function should return False.a_truthy_tuple=...# tuple: a tuple but when passed to bool function should return Trueint_iterable_min=...# int: find the minimum of int_iterable. Hint: use min functionint_iterable_max=...# int: find the maximum of int_iterable. Hint: use max functionint_iterable_sum=...# int: you know what to doint_iterable_len=...# int: really... you need hint?int_iterable_sorted=...# list: the int_iterable sorted in ascending orderint_iterable_sorted_desc=...# list: the int_iterable sorted in desc orderif...:# some iterables are not reversible why?int_iterable_reversed=...# list: the int_iterable reversed use the reversed functionelse:# in that case sort it in ascending order and reverse itint_iterable_reversed=...#listif...:# some collections are not indexable why?third_last_element=...# the third last element of `some_collection`else:# in that case set third_last_element to Nonethird_last_element=...if...:# some collections are not slicableodd_index_elements=...# type(some_collection): the elements at odd indices of `some_collection` else:# in that case set odd_index_elements to Noneodd_index_elements=...is_some_value_in_some_collection=...# bool: True if `some_value` is present in `some_collection`if...:# some collections are not orderedis_some_value_in_even_indices=...# bool: True if `some_value` is present in even indices of `some_collection`else:# in that case set is_some_value_in_even_indices to Noneis_some_value_in_even_indices=...all_iterables=...# list: concatenate `some_iterable`, `another_iterable` and `yet_another_iterable` into a list.if...:# some iterables are not orderedall_concat=...# str: concatenate all the strings in string_iterable with '-' in betweenelse:# in that case sort them and concatenateall_concat=...