what is type casting in python??
Answers
Answered by
20
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
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