Code:
import random
import math

t = tuple()

def linsearch(key, l):
    count = 0
    index = 0
    t = tuple()
    for i in l:
        count += 1
        if key == i:
            t = (index, count)
            return t
        index += 1
    

def binsearch(key, l):
    count = 0
    low = 0
    t = tuple()
    high = len(l) -
...