How to access data from a list in python and for the program to recognise whether it is even or odd : <p>I am trying to make it so that when a random number from 1 to 6 is generated the program will recognise it is an even or an odd number for example if i have a list of odd number and even numbers e.g</p>

<pre><code>even=[2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30];
odd=[1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31];
</code></pre>

<p>and the number generated is 3 i want the code to recognise it and print("odd") and same with even.</p>
