How to add checking for more than 1dp
<p>Id like to stop a decimal input from being more than 00.0  (1dp). 
So they input a number but i want it to 1dp as its percentage (such as 44.7% or 7.5%)
Here is the code:</p>

<pre><code>while nameSave &lt;=0 or nameSave &gt;99:
        while True:
            try:
                nameSave = float(input("Enter % Savings (Between 1-99%): "))
                break
            except:
                print("Needs to be a number ")
</code></pre>

<pre><code>while nameSave &lt;=0 or nameSave &gt;99:
    while True:
        try:
            nameSave = float(input("Enter % Savings (Between 1-99%): "))
            check = str(nameSave)
            if (check[1] == '.' and len(check) &gt; 3) or len(check) &gt; 4:
                print("Needs to be precise to 1 decimal point")

            break
        except:
            print("Needs to be a number ")
</code></pre>

python python-3.4