Write a Python program to subtract two numbers
Answers
Answered by
5
Explanation:
Subtract given two numbers with user input
num1=input("Enter the first number: ");
num2=input("Enter the second number: ");
sub=float(num2)-float(num1);
print("The subtract of {0} and {1} is {2}". format(num2,num1,sub) )
Answered by
2
Answer:
a=1
b=2
c=a-b
print(c,'Is the subtracted outcome')
Similar questions