code: def next_weekday(date):
      '''
      Return the first weekday after date
  
      Args:
          date (datetime or datetime.date)
      Returns:
          (datetime or datetime.date)
      Raises:
          -
      '''
      n_days = 7 - date.weekday()
      if n_days > 3:
          n_days = 1
      return date + datetime.timedelta(days=n_daysf next_weekday(date):
      '''
      Return the first weekday after date
  
      Args:
          date (datetime or datetime.date)
      Returns:
          (datetime or datetime.date)
      Raises:
          -
      '''
      n_days = 7 - date.weekday()
      if n_days > 3:
          n_days = 1
      return date + datetime.timedelta(days=n_days)
docs: Return the first weekday after date
  
      Args:
          date (datetime or datetime.date)
      Returns:
          (datetime or datetime.date)
      Raises:
          -