C-16-Q098mediumsingle_mcq
To modify Practical Problem #1 to print the difference of two numbers, the operator + should be replaced with:
To modify Practical Problem #1 to print the difference of two numbers, the operator + should be replaced with:
- a
* - b
- - c
/ - d
%
ব্যাখ্যা
Subtraction in Python uses the - operator, so replacing + with - makes result = num1 - num2, giving the difference of the two numbers.