- 1). Open the Python application file in which you want to create an empty array.
- 2). Move your cursor to the section of the file where you want to create the array.
- 3). Press "Enter" to create a new line on which to make the array.
- 4). Type "new Array $arrayVariable = [];" into the new line to create a new empty array with the variable name of "arrayVariable."
SHARE