title: Why python shows Invalid token for datetime(2018,01,01,10,08,00)?
body: <pre><code>from datetime import datetime
  datetime(2018,01,01,10,08,00)
  </code></pre>
  
  <p>The above code produces an error</p>
  
  <pre><code>&gt;&gt;&gt; datetime(2018,01,01,10,08,0)
  SyntaxError: invalid token
  </code></pre>
  
  <p>If i change <code>08</code> to any value between 01 and 07 then the error will not show and also the error will unshown if i change <code>08</code> to <code>8</code>.</p>
  
  <p>What is the reason behind it?</p>