datatype num_int num_str " print ("data type of num_int:"type(num_int)print ("data type of num_str:"type(num_str)print(num_int+num_stroutputdata type of num_intdata type of num_strtraceback (most recent call last)file "python"line in typeerrorunsupported operand type(sfor +'intand 'strin the above programwe add two variables num_int and num_str as we can see from the outputwe got typeerror python is not able to use implicit conversion in such conditions howeverpython has solution for these types of situations which is known as explicit conversion explicit type conversionin explicit type conversionusers convert the data type of an object to required data type we use the predefined functions like int()float()str()etc to perform explicit type conversion this type of conversion is also called typecasting because the user casts (changesthe data type of the objects syntax(expressionexample addition of string and integer using explicit conversion num_int num_str " print ("data type of num_int:"type(num_int)print ("data type of num_str before type casting:"type(num_str)num_str int(num_strprint ("data type of num_str after type casting:"type(num_str)num_sum num_int num_str