题解 | #函数求差#
函数求差
http://www.nowcoder.com/practice/ad1a6e344add40bdb05c44ce086c1e94
'''
#解法:
def cal(a,b):
return a-b
x = int(input())
y = int(input())
print(cal(x,y))
print(cal(y,x))
'''
#学习使用lambda
cal = lambda x,y : x-y
x = int(input())
y = int(input())
print(cal(x,y))
print(cal(y,x))
#解法:
def cal(a,b):
return a-b
x = int(input())
y = int(input())
print(cal(x,y))
print(cal(y,x))
'''
#学习使用lambda
cal = lambda x,y : x-y
x = int(input())
y = int(input())
print(cal(x,y))
print(cal(y,x))