What is an array?

M

mars

New member
Freecoin
130

An array is a data structure that stores multiple elements of the same type in contiguous memory locations.

Example:
numbers = [10, 20, 30, 40]
 

Richest Freecoded User

Most Freecoin

freecoded
freecoded
5,292 Freecoin
P
Peterparker87
1,849 Freecoin
G
GwenJasmine
1,672 Freecoin
J
Johnhendrick
1,551 Freecoin
S
speechhub
885 Freecoin
M
mahlibeardman
769 Freecoin
S
Smith16
738 Freecoin
peterkester96
peterkester96
673 Freecoin
A
Alfrenoe87
618 Freecoin
Davy200
Davy200
590 Freecoin
Top