1d = {1: 2}
2for m in d.items, d.values, d.keys:
3    print(m())
4    print(list(m()))
5
6# print a view with more than one item
7print({1:1, 2:1}.values())
8
9# unsupported binary op on a dict values view
10try:
11    {1:1}.values() + 1
12except TypeError:
13    print('TypeError')
14
15# unsupported binary op on a dict keys view
16try:
17    {1:1}.keys() + 1
18except TypeError:
19    print('TypeError')
20
21# set operations still to come
22