Python program to add two numbers

# Python3 program to add two numbers

num1 = 15

num2 = 12

# Adding two nos

sum = num1 + num2

# printing values

print("Sum of {0} and {1} is {2}" .format(num1, num2, sum))


OUTPUT:

Sum of 15 and 12 is 27

Post a Comment

Previous Post Next Post