第15265题 单选题
已知当前为上午10点,补全Python代码以计算N小时后的天数和时刻

假设现在是上午十点,求出N小时(正整数)后是第几天几点,如输入20小时则为第2天6点,如输入4则为今天14点。需补全代码中dayX, hourX = ________处的内容,完整代码如下:

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

请选择正确的补全代码。

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