List comprehension syntax [solved]


having an issue with this one :

even_squares = [x*2 for x in range(2,12) if (x*2) % 2 == 0]

this dude returns 'Oops, try again. even_squares should contain 36, but does not' all the time even though I am pretty positive this is correct


UPD : sorry, I am blind... Didn't see ** as an issue
Thanks guys


Aii.. Good you saw that.

Have fun coding! :slight_smile: