Basic Python Syntax
Basic Data Types
Python type()
Values
int
-128, 0, 42
float
-1.12, 0, 3.14159
bool
True, False
str
"Hello"
bytes
b"Hello\xf0\x9f\x98\x8e"
type(
3
)
<class
'int'
>
type(
"What is this?"
)
<class
'str'
>
Index