python3 字典的遍历.py

    xiaoxiao2023-11-11  108

    d = {"a": 1, "b": 2} for key in d: print(key, d[key]) # a 1 # b 2
    最新回复(0)