I know this looks super simple to 99.99% of you all but I want to ask about the code below..
evens_to_50 = [i for i in range(51) if i % 2 == 0]
So far in this class I have no learned how to combine for and if in on line of code? is it this simple? just keep typing with no indentation of colon?
Also what is this "i" at the start of the list definition ?