Write a python function to concatenate two integers like string concatenation and return concatenated number as integer


Topic: Write a python function to concatenate two integers like string concatenation and return concatenated number as integer

Solution

def concat_two_numbers(num1, num2):
    combined_num = str(num1) + str(num2)
    return int(combined_num)



List all Python Programs