def convertCountry(zippedList,name):
    """Converts a country name to the corresponding country code"""
    #e.g. Russia --> RU
    codeIndex = [i[1] for i in zippedList].index(name)
    print(zippedList[codeIndex][0])
    return zippedList[codeIndex][0]