What are arrays in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What are arrays in python?

Python

17th Jan 2020, 10:36 AM
Vaibhav Nagrale
Vaibhav Nagrale - avatar
4 Answers
+ 5
Python does not have built-in support for Arrays, but Python Lists can be used instead. See: https://www.w3schools.com/python/python_arrays.asp
17th Jan 2020, 10:47 AM
Mihai Apostol
Mihai Apostol - avatar
+ 2
NUMERICAL PYTHON can be imported and used to create arrays... https://code.sololearn.com/cZ801HhnAA1X/?ref=app
18th Jan 2020, 5:46 PM
Dheeraj
Dheeraj - avatar
+ 1
Python has an array module but I don't know why the arrays would be better than the lists. Arrays aren't even faster because list have the builtin advantage which make them faster.
17th Jan 2020, 11:41 AM
Seb TheS
Seb TheS - avatar
+ 1
numpy module has an array object type. one might want to use it in order to do calculations with numeric arrays...
17th Jan 2020, 4:37 PM
Lisa
Lisa - avatar