Computer Science, asked by moabide, 6 months ago

What is the difference between an array and a list?

Answers

Answered by Anonymous
2

The main difference between these two data types is the operation you can perform on them. ... Also lists are containers for elements having differing data types but arrays are used as containers for elements of the same data type.

Please Mark as Brainliest ♥️

Answered by maazxmomin123
3

Answer:

Arrays can store data very compactly and are more efficient for storing large amounts of data. Arrays are great for numerical operations; lists cannot directly handle math operations. For example, you can divide each element of an array by the same number with just one line of code.

Explanation:

Similar questions