title: Python count start date + days
body: <p>I am making a program where I input start date to <code>dataStart</code>(example 21.10.2000) and then input <code>int</code> days <code>dateEnd</code> and I convert it to another date (example 3000 = 0008-02-20)... Now I need to count these dates together, but I didn't managed myself how to do that. Here is my code.</p>
  
  <pre><code>from datetime import date 
  
  start=str(input("type start date (DD.MM.YYYY)"))
  end=int(input("how many days from it?"))  
  
  dataStart=start.split(".") 
  
  days=int(dataStart[0])
  months=int(dataStart[1])
  years=int(dataStart[2])  
  
  endYears=0
  endMonths=0
  endDays=0
  
  dateStart = date(years, months, days)
  
  while end&gt;=365:
      end-=365
      endYears+=1
  else:
      while end&gt;=30:
          end-=30
          endMonths+=1
      else:
          while end&gt;=1:
              end-=1
              endDays+=1
  dateEnd = date(endYears, endMonths, endDays)
  </code></pre>