Answer Posted / chaitanya
The array module contains methods for creating arrays of fixed types with homogeneous data types. Arrays are slower then list.
Array of characters, integers, floating point numbers can be created using array module.
array(typecode[, intializer])
Returns a new array whose items are constrained by typecode, and initialized from the optional initialized value. Where the typecode can be for instance ‘c’ for character value, ‘d’ for double, ‘f’ for float.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are python variables?
How python does compile-time and run-time code checking?
What is the difference between re.search and re.match?
How we can send email from python?
What are the different uses of help() and dir() functions in python?
What is a lambda function?
How do we execute python?
How do I use python idle?
How do you reload a python module?
How can you identify the data type of any variable in python?
How to convert a list into a set?
Is python written in python?
Why python is popular now?
List some pdb commands.
How does the python version numbering scheme work?