def sunday_to_monday(dt):
 if (dt.weekday() == 6):
  return (dt + timedelta(1))
 return dt

def sunday_to_monday ( dt ) : if ( dt . weekday ( ) == 6 ) : return ( dt + timedelta ( 1 ) ) return dt
if holiday falls on sunday .