I want to write the following statment in IDLE (Python GUI)
>>> if x == 0:
... x = 0
... print('Negative changed to zero')
... elif x == 0:
How can I get the unindention for the elif statment ?
Some additional facts:
- I tried backspace and shift + tab, that doesn't help.
- Runing on Windows.
Thanks.
Sorry, you should just use backspace, thing is that ">>>" does not intent on indentation. That means that in:
>>> if x == 54:
x = 4
elif y = 4:
y = 6
elif is just as indented as the if statment.
Sorry to waste your time..., although you can blame the IDE for making an un-selfexplanitory UI.