Python 只有50分是为什么啊?
查看原帖
Python 只有50分是为什么啊?
1226361
MISK_1969楼主2024/1/3 15:35

s,v=map(int,input().split(" ")) time=s/v+10 hour=time//60 minute=time%60 H=8-hour M=60-minute if M >0: H=H-1 else: H=H M=int(M) H=int(H) template='{:0>2}:{:}' context=template.format(H,M) print(context)

2024/1/3 15:35
加载中...