Jan-03-2018, 10:57 AM
(Jan-03-2018, 10:21 AM)j.crater Wrote: Hello,
error says that your list doesn't contain the element you want to access. It may only contain one element (index 0). So var[mob] (which is var[1] tries to access the second element of var list, which doesn't exist.
Thanks for the answer, and for example :
var=[1,2,3,2]now the var[1] exists, why the error is still happening if the second element of the list exists