题解 | #牛牛的加减器#

牛牛的加减器

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')

全部评论

相关推荐

05-30 12:03
山西大学 C++
offer来了我跪着...:不是骗子,等到测评那一步就知道为啥这么高工资了
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务