Tuesday, 27 August 2013

IndentationError on very basic line of code in python 2.7.1

IndentationError on very basic line of code in python 2.7.1

>>> if temp > 60 < 75:
print 'just right'
else:
File "", line 3 else: ^ This is the error that comes up --->
IndentationError: unindent does not match any outer indentation level
as soon as I press enter it comes up with that and I'm not sure how to fix
it, sorry I know this is probably a very silly question but I have only
just started, hence the very basic code and error.

No comments:

Post a Comment