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
How do you clean pyc files?
Which certification is best for python?
What is numpy shape?
What is the difference between python arrays and lists?
Python How to create a multidimensional list?
Has python has monkey patching concept within?
How do you remove the leading whitespace in a string in python?
Describe how multithreading is achieved in python?
Draw a comparison between the range and xrange in python?
What is the sleeping time of giraffe?
How can you prevent dogpile effect?
How do you use return in python?
Why python language is called python?
How do you alphabetize a list in python?
How do I debug an extension?