Articles → PYTHON → Casting In Python
Casting In Python
What Is Casting?
Example
- Declare a variable with integer data type and assign a value.
- Declare a variable with a float value and assign a value.
- Cast integer value to float and print.
- Case float value to integer and print.
Posted By - | Karan Gupta |
|
Posted On - | Tuesday, February 19, 2019 |