Definition:
The Subtraction Operator (-) is used to subtract one value from another. These values are called operands.
It helps in performing mathematical calculations in programs or webpages.
Syntax:
result = left_operand - right_operand
Example:
a = 20
b = 10
sub_result = a - b
print("The subtraction is:", sub_result)
Output:
Question 1:
Solve the subtraction operator of both variables a=25 and b=15 using Python.
