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.
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% 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.
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)]