-->
当前位置:首页 > 题库

PROGRAMMING:Lists are combined into dictionaries

Luz5年前 (2021-05-10)题库503
Combine two lists of the same length into a dictionary in order.
###Input format:
Enter two lists of the same length. The first list has no duplicate elements.
###Output format:
Combined dictionary.
###Input example:
Here is a set of inputs. For example:
```in
[1,2,3,4,5,6]
['a','b','c','d','e','f']
```
###Output example:
The corresponding output is given here. For example:
```out
{1: 'a', 2: 'b', 3: 'c', 4: 'd', 5: 'e', 6: 'f'}
```







answer:If there is no answer, please comment