# Python code to add two integer numbers # Store two integer input numbers num1 = int(input('Enter first number: ')) num2 = int(input('Enter second number: ')) # Add num1 and num2 values sum = num1 + num2 # Print output print('Total sum of {0} and {1} is {2}' .format(num1, num2, sum))
OUTPUT:
Enter first number: 25.2 Enter second number: 32.1 Total sum of 25 and 32 is 57