题解 | #计算器#
计算器
http://www.nowcoder.com/practice/7abd3b0ef5f2436e9514eb984e6816d8
NP7 计算器
思路:
step1:对应打印即可;
代码如下:
x = int(input())
y = int(input())
print(x+y)
print(x-y)
print(x*y)
print(x//y)
print(x%y)
计算器
http://www.nowcoder.com/practice/7abd3b0ef5f2436e9514eb984e6816d8
x = int(input())
y = int(input())
print(x+y)
print(x-y)
print(x*y)
print(x//y)
print(x%y)
相关推荐