circuitpython/tests/basics/dict_views.py

7 lines
115 B
Python
Raw Normal View History

2014-01-09 20:00:20 -05:00
d = {1: 2}
for m in d.items, d.values, d.keys:
print(m())
print(list(m()))
# set operations still to come