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

PROGRAMMING:Dictionary I / O

Luz5年前 (2021-05-10)题库450
From the keyboard input a dictionary, the dictionary key and value after the output.
###Input format:
Enter a dictionary from the keyboard.
###Output format:
The key and value of the dictionary are exchanged and output.
###Input example:
Here is a set of inputs. For example:
```in
{1:'a',2:'b',3:'c'}
```
###Output example:
The corresponding output is given here. For example:
```out
{'a': 1, 'b': 2, 'c': 3}
```







answer:If there is no answer, please comment