第25285题 单选题
假设当前上午十点,求N小时后是第几天及时,横线处应填的代码是?

已知题干中的代码片段如下:

N = int(input())
dayX, hourX = ________________________
if dayX == 0:
    print("今日", hourX, "点", sep="")
else:
    print("第", (dayX+1), "天", hourX, "点", sep="")

示例:输入20小时则为第2天6点,输入4则为今天14点。

{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析