4
Last seen 4 years ago
Member for 4 years, 6 months, 7 days
Difficulty Normal
Commented a forum post "Even the last - failed on extra 11" created by
jacobwasasian
Thanks Phil15! It worked. I didn't know about enumerate before and that array[-1] == array[leng-1] s
Created a forum post "Even the last - failed on extra 11"
def checkio(array):
leng = len(array)
result = 0
if leng == 0:
return (0)