I would like to know how i can initialize an array(or list), yet to be populated with values, to have a defined size.

For example in C:

int x[5]; /* declared without adding elements*/

How do I do that in Python?

11 Answers
11

Leave a Reply

Your email address will not be published. Required fields are marked *