Computer Science, asked by jiteshsharma19, 4 months ago

Write a Python program to subtract two numbers​

Answers

Answered by prabhayadavmishki198
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 kasaranenisathw
2

Answer:

a=1

b=2

c=a-b

print(c,'Is the subtracted outcome')

Similar questions