title: Writing a function to calculate the day of the week
body: <p>My assignment is:</p>
  
  <blockquote>
    <p>Write a function to calculate and return h the day of the week (integer) given the year, month and day of the month. Using Zellers congruence</p>
  </blockquote>
  
  <p>My code:</p>
  
  <pre><code>DAYS = ["Saturday","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday"]
  
  if month == 1:
      month = 13
      year -= 1
  elif month == 2:
      month = 14
      year -= 1
  
  century = str(year)[:1]
  century_year = str(year)[2:]
  
  century = int(century)
  century_year = int(century_year)
  
  h = (day_month+((26(month+1))//10+century_year)+(century_year//4)+(century//4)+(5*century))%7
  
  day = DAYS[h]
  return day 
  </code></pre>
  
  <p>When I try to run this i get </p>
  
  <pre><code>    h = (day_month+((26(month+1))//10+century_year)+(century_year//4)+(century//4)+(5*century))%7
  TypeError: 'int' object is not callable
  </code></pre>