Type Conversion In Python | Implicit And Explicit Type Conversion

Type Conversion

Type conversion is a process of converting one data type into another data type.

Classifications

There are two types of Type Conversion in Python:  
  • Implicit Type Conversion 
  • Explicit Type Conversion

Implicit Type Conversion 

The process of converting one data type into another data type automatically without any user involvement.

Explicit Type Conversion 

The process of converting one data type into another data type by the user (programmer).
User involvement required in explicit type conversion.

Post a Comment

0 Comments