Possible Duplicate:
How to initialize a list to a certain value in Python
In Java, I can do this:
int[] i = new int[5];
and all elements of i will be 0.
How can I do the same for python, I am doing like this:
i = [0, 0, 0 , 0, 0]
is there a cleaner/simpler way?
append()method.