Write a program for displaying numbers on the screen if they are even and their cell indices are even.

(Solution provided in Python 3.6.4 programming language)
To begin with, let’s get an empty array, which will then be sequentially filled with elements entered by the user from the keyboard, in the amount of N.

Then, using the for loop, we iterate over all the elements of the array and, thanks to the if condition, determine the even elements with even indices. We display such elements. As a result, we get the following program:

N = int (input ())
a = []
for i in range (N):
b = int (input ())
a.append (b)
for i in range (N):
if a [i]% 2 == 0 and i% 2 == 0:
print (a [i])

One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.