On Mon, Sep 28, 2009 at 5:48 PM, Rudolf <yellowblueyel...@gmail.com> wrote: > How can i declare a global array in python?
Python has no concept of declarations. And it doesn't have arrays, it has dynamically-resizing lists. Some examples: one_empty_list = [] a_list_of 5 zeroes = [0]*5 Might I recommend you read the Python tutorial? I will help you in your programming class. Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list