#!/usr/bin/env python

arr = [[0 for c in range(0, 10)] for r in range(0, 10)]             #
10x10 array

arr[2,3]                 # throws TypeError: list indices must be
integers
arr[int(2), int(3)]     # also throws TypeError: list indices must be
integers !

-------------------------------------------------
what is wrong in above script ?


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to