<reponame>AlexaHernandez/reliable-data-transfer
#!/usr/bin/python2

# file: utilities.py


def findIndex(lst, key):
    for i in range(len(lst)):
        if lst[i] == key:
            return i
    return -1


#!/usr/bin/python2

# file: utilities.py


def findIndex(lst, key):
    for i in range(len(lst)):
        if lst[i] == key:
            return i
    return -1
#!/usr/bin/python2 # file: utilities.py