richards12
(jhon richards)
1
Hi, I need to know what is the difference between Python Arrays and lists
Have you read the answers people already gave you?
Did you try doing any research of your own? For example, checking the
meanings of the words on Wikipedia?
https://duckduckgo.com/?q=wikipedia+array
In Python, we sometimes use the word “array” to mean the same as list.
But the built-in list type is documented here:
https://docs.python.org/3/tutorial/introduction.html#lists
https://docs.python.org/3/library/stdtypes.html#list
Sometimes when we talk about arrays, we mean lists. Sometimes we mean
these:
https://docs.python.org/3/library/array.html
Sometimes we mean data types from third-party libraries:
https://numpy.org/doc/stable/reference/generated/numpy.array.html