In my program, I generate two lists each with 10 integers: one through user input, and one through random selection. Then, using numpy, I convert one of the lists into a 2x5 array, and the other into a 5x2 array and take the outer product to arrive at a 5x5 array like this:
[[ 1 1 1 1 1]
[ 1 1 1 1 1]
[ 1 1 0 1 1]
[ 1 1 1 1 1]
[ 1 1 1 1 1]]
I want to ask the user some questions about the array, for example, "What is the value in the center of the resulting array?" (which would be 0 in this case).
How can I have Python check the value of the integer at the center of the array?