请问一下,如何让最后一句"Today is 1 and the future day is 1"中的两个数字1转换为Monday

img

你好,直接设置

today = 
after = 
day = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]
a = (today+after)%7
b = today%7
print("Today is {} and the future day is {}".format(day[b], day[a]))

有用还请题主给个采纳支持一下,谢谢啦(づ ̄3 ̄)づ╭❤~