Steps to solve the program
1. Take two numbers as input.
2. Add the two numbers using the + operator.
3. Print the result.
Program:
num1 = 30
num2 = 40
print("Addition of num1+num2 :", num1+num2)
Output:
Addition of num1+num2 : 70
Online Learning Platform
Steps to solve the program
1. Take two numbers as input.
2. Add the two numbers using the + operator.
3. Print the result.
Program:
num1 = 30
num2 = 40
print("Addition of num1+num2 :", num1+num2)
Output:
Addition of num1+num2 : 70