Finding the Min and Max of User Inputs
<p>I'm learning Python, and in trying to find out the min and max values of user number inputs, I can't seem to figure it out.</p>

<pre><code>count = 0
x = []
while(True):
    x = input('Enter a Number: ')
    high = max(x)
    low = min(x)
    if(x.isdigit()):
        count += 1
    else:
        print("Your Highest Number is: " + high)
        print("Your Lowest Number is: " + low)
        break
</code></pre>

<pre><code>inp=input("enter values seperated by space")
x=[int(x) for x in inp.split(" ")]
print (min(x))
print (max(x))
</code></pre>

<p>output:</p>

<pre><code>Python 3.5.2 (default, Dec 2015, 13:05:11)
[GCC 4.8.2] on linux

enter values seperated by space 20 1 55 90 44
1
90
</code></pre>

python python-3.x