题解 | #牛牛的加减器#
牛牛的加减器
https://www.nowcoder.com/practice/13e575e3bd4b4ed0aba7be2fa1efcb3f
def Add_Sub(x, y):
sum = x + y
substract = x - y
return sum, substract
if __name__ == "__main__":
x = int(input())
y = int(input())
sum, substract = Add_Sub(x, y)
print(sum, substract, sep="\n")
查看1道真题和解析