Stats

70 Contributors: 4 Sunday, December 18, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Arrays

Introduction

"Arrays" in Python are not the arrays in conventional programming languages like C and Java, but closer to lists. A list can be a collection of either homogeneous or heterogeneous elements, and may contain ints, strings or other lists.

Parameters

ParameterDetails
bRepresents signed integer of size 1 byte
BRepresents unsigned integer of size 1 byte
cRepresents character of size 1 byte
uRepresents unicode character of size 2 bytes
hRepresents signed integer of size 2 bytes
HRepresents unsigned integer of size 2 bytes
iRepresents signed integer of size 2 bytes
IRepresents unsigned integer of size 2 bytes
wRepresents unicode character of size 4 bytes
lRepresents signed integer of size 4 bytes
LRepresents unsigned integer of size 4 bytes
fRepresents floating point of size 4 bytes
dRepresents floating point of size 8 bytes

Related Examples