Skip to content

Instantly share code, notes, and snippets.

View snayler0's full-sized avatar

Shane Nayler snayler0

View GitHub Profile
import datetime
STARTHOUR, STARTMINUTE = map(int, input("Enter Shift Start Time (HH:MM): ").split(':'))
BREAKSTARTHOUR, BREAKSTARTMINUTE = map(int, input("Enter Break Start Time (HH:MM): ").split(':'))
BREAKENDHOUR, BREAKENDMINUTE = map(int, input("Enter Break End Time (HH:MM): ").split(':'))
ENDHOUR, ENDMINUTE = map(int, input("Enter Shift End Time (HH:MM): ").split(':'))
START_TIME = datetime.time(STARTHOUR, STARTMINUTE)
BREAKSTART_TIME = datetime.time(BREAKSTARTHOUR, BREAKSTARTMINUTE)
BREAKEND_TIME = datetime.time(BREAKENDHOUR, BREAKENDMINUTE)