How To Can I Restrict The User From Entering More Than 1 Digit In Python 3 : <p>In,</p>

<pre><code>a=int(input("Enter A Integer: "))
</code></pre>

<p>How Can I Prevent The User From Entering More Than 4 Digits In This Input</p>
