3.6 Common Data Types Summary¶
Common Data Types¶
- Numeric types int and float

- Sequence and mapping types

List Example¶
my_list = [10, 'abc']
Tuple Example¶
my_tuple = (1, "Hello", 3.4)
Set Example¶
num1 = set([1, 2, 3])
Set Literal Example¶
my_set = {1.0, "Hello", (1, 2, 3)}