Hi all,
I'm trying to write the following in python:
j=0
for i in range(len(datum lijst)+1):
if (datumlijst[i+1]!=datumlijst):
datum[j]=datumlijst
j=j+1
print datum[:]
it complains about the part: datumlijst[i+1]!=datumlijst
it produces the following error:
File "hits_per_dag.p y", line 24, in ?
datum[j]=datumlijst
IndexError: list assignment index out of range
Anyone know why this happens
--
Posted via http://dbforums.com
Comment