<reponame>janvi16/-HACKTOBERFEST2K20<gh_stars>0
#python program to subtract two numbers using function

def subtraction(x,y):  #function definifion for subtraction
    sub=x-y
    return sub
num1=int(input("please enter first number: "))#input from user to num1
num2=int(input("please enter second number: "))#input from user to num2

print("Subtraction is: ",subtraction(num1,num2))#call the function

#python program to subtract two numbers using function

def subtraction(x,y):  #function definifion for subtraction
    sub=x-y
    return sub
num1=int(input("please enter first number: "))#input from user to num1
num2=int(input("please enter second number: "))#input from user to num2

print("Subtraction is: ",subtraction(num1,num2))#call the function
#python program to subtract two numbers using function #function definifion for subtraction #input from user to num1 #input from user to num2 #call the function