1# test builtin "all" and "any"
2
3tests = (
4    (),
5    [],
6    [False],
7    [True],
8    [False, True],
9    [True, False],
10    [False, False],
11    [True, True],
12    range(10),
13)
14
15for test in tests:
16    print(all(test))
17
18for test in tests:
19    print(any(test))
20