What is the output of the following Python code??
def Convert(lst):
    res_dct = {lst[i]: lst[i + 1] for i in range(0, len(lst), 2)}
    return res_dct
lst = ['h', 2, 'e', 0, 'm', 1]
print(Convert(lst))


Posted on by