Numbers / Integers
Numbers are the foundation of every programming language. In this module, we will learn how to use numbers in Python.
Integers (int)
int)positive_int = 2
negative_int = -2
zero = 0Booleans (bool)
bool)is_raining = True
is_cloudy = FalseFloats (float)
float)Complex Numbers (complex)
complex)Common Operations
Useful Built-ins
Common Pitfalls
References
Last updated