If you want arbitrary number of inputs, you could try this: alltimes = input("Enter times in HH:MM\n").split() for time in alltimes: hour, ...
確定! 回上一頁