How to Add Two Numbers in Python – Easy Programs
Given two numbers num1 and num2. The task is to write a Python program to find the addition of these two numbers.
Examples:
Input: num1 = 5, num2 = 3
Output: 8
Input: num1 = 13, num2 = 6
Output: 19
CODE:
Python3 program to add two numbers
num1 = 15
num2 = 12
Adding two nos
sum = num1 + num2
printing values
print("Sum of", num1, "and", num2 , "is", sum)