代码如下:
x,y,z,k=map(int,input().split())
print((x+y)*(z-k))
参考:
map()函数语法:map(function, iterables)
map() 函数为 iterable 中的每个项目执行指定的函数。项目作为参数发送到函数。