Albert Gonzalez Post authorSeptember 18, 2013 at 8:07 pm current_time_str = input(“what is the current time (in hours 0-23)?”) wait_time_str = input(“How many hours do you expect to wait for”) current_time_int = int(current_time_str) wait_time_int = int(wait_time_str) final_time_int = current_time_int + wait_time_int final_answer = final_time_int % 24 print(“The time after waiting is: “, final_answer) //from Think Python. Reply ↓
current_time_str = input(“what is the current time (in hours 0-23)?”)
wait_time_str = input(“How many hours do you expect to wait for”)
current_time_int = int(current_time_str)
wait_time_int = int(wait_time_str)
final_time_int = current_time_int + wait_time_int
final_answer = final_time_int % 24
print(“The time after waiting is: “, final_answer)
//from Think Python.