array = [2, 4, 6, 8, 10]
...
for number in array:
if number % 2 == 0 and number < minimal:
minimal = number
minimal = 0 #default
for number in array:
if number % 2 == 0 and number < minimal:
if minimal != 0:
if number < minimal:
minimal = number
else:
minimal = number