This syntax requires Python 2.7 or greater. In Python 3, there is only dict.items() , not iteritems() so you would use: filtered_dict = { ...
確定! 回上一頁