dict 要看key值不外乎就是使用 .keys() ,若去看他的型態就知道在python中 ... '1': [5,7,3]} dict.setdefault('1', []).append(112) print(dict) #output:{1: 4, ...
確定! 回上一頁