Below is the various type of python data types.

Brief descriptions for each data types:

Sequence: Ordered collections of similar or completely different data types. Three type of sequence:

a. String – any sequence of characters enclosed within a single quotes, double quotes or triple quotes.

b. List – any objects groupings stored in a variable which has the below characteristics:

– starts and end with a bracket, ordered, indexed, mutable, dynamic and can have

any types of object.

c. Tuple – It essentially the same as list except that its ummutable and starts and ends

with a parenthesis.

Boolean: provides a value of either True or False

Dictionary: represented in a format of a key-value pairs. Its an unordered collections of the same of completely different data types.

Numeric: this type has a numeric values which is categories into three sub-types: integer, float and complex number.

Leave a comment

Quote of the week

"People ask me what I do in the winter when there's no baseball. I'll tell you what I do. I stare out the window and wait for spring."

~ Rogers Hornsby