+ 4

What is Python Casting ?

Hello Ducks. If I am right, it is transforming a variable from int > str or float > int and so on... ?

25th Aug 2020, 12:15 AM
Agt Reda
Agt Reda - avatar
1 Odpowiedź
+ 2
That is correct, type casting is explicitly changing a variables type or converting it from one type to another 👍👍
25th Aug 2020, 12:29 AM
Steven M
Steven M - avatar