Python

Haitham Mohamed
Haitham Mohamed
2,367 Points

Got the correct output in Workspaces but still not accepted (slice functions challenge) task no. 4

def reverse_evens(itera):

comp = itera[-1::-2]
return comp
Oszkár Fehér
Oszkár Fehér
Python Web Development Techdegree Student 27,288 Points

Yeah, this one it's tricky, I was stucked here to, i don't even know how i passed. I did the same like you and in pycharm it's working but here not. Yesterday i was trying also to answer to someone and i could figure out which version it's accepted here.