第25291题 单选题
计算N小时后的天数与时刻,补充Python代码横线处内容

假设现在是上午十点,求出N小时(正整数)后是第几天几时,如输入20小时则为第2天6点,如N输入4则为今天14点。为实现相应功能,横线处应填写的代码是:

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 }}%
答案解析