title: Syntax error in python 3 when I'm trying to convert a date but no luck on trying to solve it
body: <p>I'm trying to convert date (i.e. 6/15/2000) to the day, month abbreviation, and year (i.e. 15 June, 2000) in python 3   </p>
  
  <pre><code>def main():
      dateStr = raw_input("Enter a date (mm/dd/yyyy): ")
      monthStr, dayStr, yearStr = string.split(dateStr, "/")
      months = ["January", "February", "March", "April", "May", "June", 
      "July", "August", "September", "October", "November", "December"]
      monthStr = months[int(monthStr)–1]   
  
  main()
  </code></pre>