Retrieve value by key val = d['xx'] # fails with KeyError check = 'nj' in d # 3. in check -> True dict with keys ca ok nj tx.
確定! 回上一頁