title: Determine next business day
body: <p>I am trying to write a code to determine the next market day( which comes up every 4days). Am able to print a list of market days from one market date. If I run the code on a day isn't market day, the list will not be correct because it will only add 4 days. but I need the code to print just the next market day. For instance, the last market day was 29/5/17, the next should be 2/6/17.<br>
  Do I need to create a file containing the list of dates and compare?</p>
  
  <pre><code> import datetime
   today = datetime.date.today()
   year = int(input('Enter a year: '))
   month = int(input('Enter a month: '))
   day = int(input('Enter a day: '))
   date2 = datetime.date(year, month, day)
   mday = datetime.timedelta(days=4)
   print('Market days till ',date2)
  
   while today &lt;= date2:
      mtoday = (today.strftime('\nNext Market day: %A, %B %d, %Y'))
      print (mtoday)
      today = today + mday
  </code></pre>