World Languages, asked by nashita100, 1 year ago

what is python casting​

Answers

Answered by Anonymous
2

Answer:

Casting is when you convert a variable value from one type to another. This is, in Python, done with functions such as int() or float() or str() . A very common pattern is that you convert a number, currently as a string into a proper number.

Answered by sonalikaushik
0

Casting is when you convert a variable value from one type to another. This is, in Python, done with functions such as int() or float() or str() . A very common pattern is that you convert a number, currently as a string into a proper number.

Similar questions
Math, 6 months ago