diff --git a/SimpleAddition/subtract.py b/SimpleAddition/subtract.py new file mode 100644 index 0000000..4956918 --- /dev/null +++ b/SimpleAddition/subtract.py @@ -0,0 +1,8 @@ +# Simple Python program to subtract Two Numbers + +num1 = input(" Please Enter the 1st Number: ") +num2 = input(" Please Enter the 2nd number: ") + +# Using arithmetic - Operator to subtract two numbers +total = float(num1) - float(num2) +print('The total of {0} minus {1} is {2}'.format(num1, num2, total))