for (x, y) in box: ^ IndentationError: unexpected indent code example
Example 1: IndentationError: unexpected indent
#Check if all your code is spaced corectly!
Example 2: IndentationError: unexpected indent
# Python uses spacing at the start of the line to determine when code blocks start and end.
# Errors you can get are:
def a():
...print "foo"
... print "bar"
IndentationError: unexpected indent
>>> print "hello"
IndentationError: unexpected indent