RE: IndexError: pop index out of range

2013-05-14 Thread Carlos Nepomuceno
zz'] > xaa 4 > Traceback (most recent call last): >File > "/home/az/work/Python/Google_Course/google-python-exercises/basic/list1.py", > line 119, in > main() >File > "/home/az/work/Python/Google_Course/google-python-exercises/bas

IndexError: pop index out of range

2013-05-14 Thread Andrew Z
7;] xaa 4 Traceback (most recent call last): File "/home/az/work/Python/Google_Course/google-python-exercises/basic/list1.py", line 119, in main() File "/home/az/work/Python/Google_Course/google-python-exercises/basic/list1.py", line 100, in main test(front_x(['bbb', 'ccc', 'axx', 'xzz', 'xaa']), File "/home/az/work/Python/Google_Course/google-python-exercises/basic/list1.py", line 55, in front_x vl = list_temp.pop(idx) IndexError: pop index out of range -- http://mail.python.org/mailman/listinfo/python-list