-8

my problem

Thx in advance! And whats a unident?

Matt
  • 13
  • 3
  • Unindent is the opposite of indent. You've got too little whitespace in front of your code. Could you post the text of the error instead of an image? – TankorSmash Mar 14 '17 at 20:09
  • 2
    You should not post images of text on this site. Your required [Minimal, Complete, and Verifiable example](http://stackoverflow.com/help/mcve) must be in formatted text. – Random Davis Mar 14 '17 at 20:10
  • I have an error trying to load your image for some reason. This is a viscious circle indeed. – roganjosh Mar 14 '17 at 20:11

1 Answers1

-1

It looks like you have too many spaces before the elif. It should line up with the if above it and it does not. However, since it's an image and you're using a proportional font, it's hard to tell for certain. It might be a case where you're mixing tabs and spaces for indenting. You should use 4 spaces, and only 4 spaces, with Python.

An indent signifies that you're adding a level of indentation. An unindent means you're removing a level of indentation. For example, going from 8 spaces of indent to 4 is an unindent.

Troy Hoffman
  • 181
  • 1
  • 5