Tips and memo
2014年7月16日水曜日
python: Dictionary .item()
x = {"a": "apple","b": "bee","c": "cat"}
print x.items()
>>> [('a', 'apple'), ('c', 'cat'), ('b', 'bee')]
0 件のコメント:
コメントを投稿
‹
›
ホーム
ウェブ バージョンを表示
0 件のコメント:
コメントを投稿