def next_monday_or_tuesday(dt):
 dow = dt.weekday()
 if ((dow == 5) or (dow == 6)):
  return (dt + timedelta(2))
 elif (dow == 0):
  return (dt + timedelta(1))
 return dt

def next_monday_or_tuesday ( dt ) : dow = dt . weekday ( ) if ( ( dow == 5 ) or ( dow == 6 ) ) : return ( dt + timedelta ( 2 ) ) elif ( dow == 0 ) : return ( dt + timedelta ( 1 ) ) return dt
for second holiday of two adjacent ones! if holiday falls on saturday .