image
image
image

Chapter 5: Type Conversion and Type Casting in Python

image

Type Conversion refers to the process of changing the value of one programming data type to another programming data type. Think of dividing two integers that lead to decimal numbers. In this case, it is necessary to convert force the conversion of an integer into a float number. Python has two types of conversion: implicit type conversion and explicit conversion.