tests/list.py | raw changeset files shortlog |
1.1 --- a/tests/list.py Fri Jun 12 22:03:56 2009 +0200 1.2 +++ b/tests/list.py Sun Jun 14 01:18:05 2009 +0200 1.3 @@ -1,8 +1,12 @@ 1.4 #!/usr/bin/env python 1.5 1.6 -[1, 2, 3] 1.7 a = [1, 2, 3] 1.8 -[1, [2, 3], 4, 5] 1.9 -b = list((9, 8, 7)) 1.10 +b = [1, [2, 3], 4, 5] 1.11 +c = list((9, 8, 7)) 1.12 + 1.13 +result_3 = a[2] 1.14 +result_4 = b[2] 1.15 +result_2 = b[1][0] 1.16 +result_9 = c[0] 1.17 1.18 # vim: tabstop=4 expandtab shiftwidth=4