Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

In Python what is difference between Array and List

In Python what is difference between Array and List
by

1 Answer

espadacoder11
Lists

Python lists are very flexible and can hold arbitrary data.

Lists are a part of Python’s syntax, so they do not need to be declared first.

Arrays

Python arrays are just a thin wrapper on C arrays.

Arrays need to first be imported, or declared, from other libraries (i.e. numpy).

Login / Signup to Answer the Question.