Computer Science, asked by KameenaYaar01, 11 months ago

what is type casting in python??

Answers

Answered by ITZWildBoy
20

\huge\underline\mathfrak\green{Solution}

Casting is mainly used when you want to convert a variable value from one type to another.

There are various functions for it like:

•int()

•float()

•str()

Thanks!! ✨❤

Answered by limelight1726
4

Explanation:

♢ Typecasting is change of entity from one data type to another

♢ It is also known as type conversion .

♢ Casting is change of variable value from one type to another

Similar questions