Light Mode
Dark Mode
Even last, code not passing

def checkio(array): """ sums even-indexes elements and multiply at the last """ x = 0 for i in array[::2]: x += i return x * array[-1]

Created: Feb. 21, 2019, 10:02 a.m.
Updated: Feb. 21, 2019, 3:30 p.m.
0
6
User avatar
matdibobe