Type Conversion in Python (Implicit Type Conversion with example)|Subtraction of two numbers program
🌟The process of converting a Python data type into another data type is known as type conversion.
🌟There are mainly two types of type conversion methods in Python:
✨ Implicit type conversion
✨Explicit type conversion
In Python,
🌟 when the data type conversion takes place during compilation or during the runtime, it’s called an implicit data type conversion.
🌟Here,we have taken two variables of integer, and float data types and subtract them. Further, we have declared another variable named ‘sub’ and stored the result of the subtraction in it.
🌟When we checked the data type of the sub variable, we could see that the data type of the sub variable had been automatically converted into the float data type by the Python Intrepreter. This is called implicit type conversion.
#itmemes #programmingmemes #codinglife
#python #c #c++ #java #funnymemes #coding
Under the Copyright Disclaimer under Section 107 of the Copyright Act 1976, there is an allowance for ‘fair use’ of copyrighted material for such purposes as education and research, scholarship, criticism, news reporting, comment, and teaching. Fair use copyright disclaimer refers to the use allowed by the copyright statute, which would otherwise be looked at as an infringement.
This video is used only for educational purpose.please don't give any copyright strike.
If u want remove ur video,then mail to [email protected] am ready to remove the videos.Thank you.