Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Even the last solution in Uncategorized category for Even the Last by Nuszwkartlo
def checkio(array):
pom = 0
sum = 0
if len(array) == 0 :
return 0
# try:
while pom < len(array):
sum = sum + array[pom]
pom = pom +2
return sum * array[len(array)-1]
# except IndexError:
# return 0
Nov. 10, 2015
Comments: