Lesson 06: Whitespace Means Right Space - nolenfelten/Codecademy-Python-Notes GitHub Wiki

Now let's examine the error from the last lesson:

IndentationError: expected an indented block

You'll get this error whenever your whitespace is off.

Properly indent the code with four spaces before eggs on line 2 and another four before return on line 3.

You should indent your code with four spaces.

    def spam():
	eggs = 12
	return eggs
	
print spam()