title: Getting a TypeError: unsupported operand type(s) for +: 'int' and 'str'
body: <pre><code>    if option == 4:
          day5 = int(input('Enter a day:'))
          month5 = int(input('Enter a month:'))
          year5 = int(input('Enter a year:'))
          dateSelected = str(year5+'-'+month+'-'+day5)
          if day == day5 and month == month5 and year == year5:
              print(occurence, ' appointment starting on (', dateSelected, '): ', time, ', ', event)
  </code></pre>
  
  <p>I am getting the error on the line with "dateSelected = str(year5+'-'+month+'-'+day5)".  I have no idea how to fix this.  I have looked for similar question and tried them but it did not help.</p>