0% found this document useful (0 votes)
23 views

Python Basic Data Types

The document describes different data types in Python including integers, strings, dictionaries, sets, floating point numbers, lists, tuples and booleans. It provides examples for each data type.

Uploaded by

Vicky
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Python Basic Data Types

The document describes different data types in Python including integers, strings, dictionaries, sets, floating point numbers, lists, tuples and booleans. It provides examples for each data type.

Uploaded by

Vicky
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Integers (int) Strings (str) Dictionaries (dict) Sets (set)

Whole Ordered Unordered Key Unordered


numbers, such sequence of Value pairs: collection of
as: 3, 300, 200 characters: {‘mykey’:’value’, unique objects:
“hello”, ‘Sam’ ‘name’:‘Frank’} {"a","b"}
“2000”, “楽し”

Floating point (float) Lists (list) Tuples (tup) Booleans (bool)

Numbers with a Ordered Ordered Logical value


decimal point sequence of immutable indicating True
such as: 2.3, objects: sequence of or False
4.6, 100.0 [10,"hello",200] objects:
(10,"hello",200.
3)]

www.free-powerpoint-templates-design.com

You might also like