Problem Set 7 ^^^^^^^^^^^^^ .. admonition:: Problem 7.1 :class: Note Write a function ``find_element(element,list)`` that returns ``True`` if ``element`` is in ``list`` and ``False`` otherwise. You may *not* use the ``in`` operator. * On average, how many iterations through your loop does your function make? .. admonition:: Problem 7.2 :class: Note * Compare your function from 7.1 to binary search with a list of size 10. Which requires fewer iterations on average? * Repeat this experiment with a list of size 100,000. Which requires fewer iterations on average? Discuss. .. admonition:: Problem 7.3 :class: Note Write a function ``sort_list(intlist)`` that will return a list of integers ``intlist`` with the elements sorted from smallest to biggest.