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?
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?