1. for key in mydict == for key in mydict.keys()
2. mydict.keys(), mydict.values()
3. for (key, value) in mydict.items():
1. for key in mydict == for key in mydict.keys()
2. mydict.keys(), mydict.values()
3. for (key, value) in mydict.items():
转载于:https://www.cnblogs.com/redstar9451/p/10672993.html