Skip to content

Instantly share code, notes, and snippets.

@abhi923
Created April 27, 2020 05:22
Show Gist options
  • Save abhi923/bfc94c2904324a8073ae15e11c44c849 to your computer and use it in GitHub Desktop.
Save abhi923/bfc94c2904324a8073ae15e11c44c849 to your computer and use it in GitHub Desktop.
hour = int(input("Starting time (hours): "))
mins = int(input("Starting time (minutes): "))
dura = int(input("Event duration (minutes): "))
# put your code here
print('Finish Time:', ((hour + (mins+dura)//60)%24), ':', (mins+dura) % 60)
@abhi923
Copy link
Author

abhi923 commented Jun 28, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment