Need Help in python3, Wnat to set variables like they are increasing
<p>any ideas how to take middle number and put in middle of min and max?</p>

<pre><code>x=input('Pirveli: ')
y=input('Meore: ')
z=input('Mesame: ')
list = (ord(x),ord(y),ord(z))
print(min(list),(MIDDLENUMBER HERE),max(list))
</code></pre>

<p>any ideas?</p>

<p>Yes. You can sort the list, and you'll get what you need.</p>

<pre><code>&gt; lst = [4, 5, 3]
&gt; lst.sort()
&gt; lst
[3, 4, 5]
</code></pre>

<p>You can also use <code>sorted</code> in a more general way on iterable objects. For example, given a tuple with <code>x</code>, <code>y</code>, <code>z</code>:</p>

<pre><code>&gt; x = 6
&gt; y = 2
&gt; z = 3
&gt; sorted((x, y, z))
[2, 3, 6]
</code></pre>

python