题解 | #开学?#
开学?
http://www.nowcoder.com/practice/9cc35bd0754f4feca18e10e57c672467
num1, num2 = [int(i) for i in input().split()]
if (num1 + (num2 % 7)) > 7:
print((num1 + (num2 % 7)) - 7)
else:
print((num1 + (num2 % 7)))
开学?
http://www.nowcoder.com/practice/9cc35bd0754f4feca18e10e57c672467
num1, num2 = [int(i) for i in input().split()]
if (num1 + (num2 % 7)) > 7:
print((num1 + (num2 % 7)) - 7)
else:
print((num1 + (num2 % 7)))
相关推荐