Python Code error "Process finished with exit code 0"
<p>My code is to input 10 integers from user and return the max odd number entered but its not working.</p>

<p>Code : </p>

<pre><code>def myolution (self, numbers):
    numbers = [input('Enter values') for i in range(10)]
    odds = [y for y in numbers if y % 2 != 0]
    if odds:
        return max(odds)
    else:
        return 'All even'
</code></pre>

<p>I get this message : Process finished with exit code 0</p>