There are too many bugs in Codeacademy! : 8. Ommiting Indices


#1

I am pretty sure this code should work. I used the Codeacademy lab and it worked. I still get a syntax error even after resetting my browser. Resetting the PC and even using a different browser. I can't even skip it... Help would be amazing thank you :confused:

Here is my code:

my_list = range(1, 11) # List of numbers 1 - 10


print my_list[::2]

#2

That's valid syntax for python2, perhaps you're using something else to execute your code.


#3

Urmh no I am pretty sure I have done this.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.