What is Type Casting in Python

 Type Casting is a Process to convert one data type into another data type.

there are several ways to convert one data type into another data type i.e Integer to Float, Float to Integer, Integer data type or Float Data type into String Data type in Python.

For Example : Converting Integer Data Type into Float

isNumber =10

isFloat = float(isNumber)
print(isFloat)


Admin

A Software Engineer, Social Media Marketing Expert, writer,

Post a Comment

Previous Post Next Post