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
Is set iterable python?
What is __ main __ in python?
What is the best interpreter for python?
How do you convert string as a variable name in python?
What is the with statement in python?
Is python the future of programming?
Mention what are the rules for local and global variables in Python?
What is python metaclass?
How python does compile-time and run-time code checking?
Write python logic to count the number of capital letters in a file?
What are types in python?
What are closures in python?
What is python's parameter passing mechanism?
Explain how memcached should not be used in your python project?
What are python’s dictionaries?