This is my code:
def lists_to_dict(coded, plain):
    '''
    (list of str, list of str) -> dict of {str: str}
    Return a dict in which the keys are the items in coded and
    the values are the items in the same positions in plain. The
    two parameters must have the same length.
    >>> d = lists_to_dict(['a', 'b', 'c', 'e', 'd'],  ['f', 'u', 'n', 'd', 'y'])
    >>> d == {'a': 'f', 'b': 'u', 'c': 'n', 'e': 'd', 'd': 'y'}
    True
    '''
    dic = {}
    dic = {key:value for key, value in zip(coded, plain)}
    return dict(dic)
and my output:
>>> {'b': 'u', 'c': 'n', 'e': 'd', 'd': 'y', 'a': 'f'}
can someone please tell me where do I got wrong and help me out please!
 
     
     
    