Program to subtract two integers.

In this Python basic program, we will subtract two integers using the – operator.

Steps to solve the program

1. Take two numbers as input.
2. Subtract the two numbers using the “–” operator.
3. Print the result

Program:

num1 = 80
num2 = 20

print("Subtraction of num1 - num2 :", num1 - num2)

Output:

Subtraction of num1- num2 : 60