Data Type Conversions
Learn about data type conversions in Python.
We'll cover the following
Conversions
Mixed-mode operations include the following:
- Operations between
int
andfloat
will yieldfloat
. - Operations between
int
andcomplex
will yieldcomplex
. - Operations between
float
andcomplex
will yieldcomplex
.
Get hands-on with 1400+ tech skills courses.