title: Year to Century Codewars task
body: <blockquote>
  <p>The first century spans from the year 1 up to and including the year 100, the second century - from the year 101 up to and including the year 200, etc.</p>
  </blockquote>
  <p>Task
  Given a year, return the century it is in.</p>
  <pre><code>def century(year):
      # Finish this :)
      if year % 10 == 0:
          return (year // 100)
      else:
          return (year // 100) +1
  print(century(8110))
  </code></pre>
  <p>For some reason that I don't understand, some of random tests to this task fail. Some specific numbers such as 6580,3150,2560,8030,8460 are not passing the test cases. Could you explain what is wrong with my code?</p>