Integers
Floating point
Strings
Lists
Dictionaries
Tuples
Sets
Booleans
Text Type
str
Numeric Types
Sequence Types
Mapping Type
dict
Set Types
Boolean Type
bool
Binary Types
Brackets [] used for:
Braces {} used for:
Parentheses() used for:
Get the data type of any object:
Setting the Data Type:
x = “Hello World”
str
Setting the Data Type:
x = 20
int
Setting the Data Type:
x = 20.5
float