Dec-03-2017, 09:18 PM
at the moment it is at the same indent level as the if line above. Indnet line #2 one level. By the way - better write your program in a file instead of using interactive interpreter
IndentationError: expected an indented block
|
|
Messages In This Thread |
IndentationError: expected an indented block - by python1980 - Dec-03-2017, 08:47 PM
RE: IndentationError: expected an indented block - by buran - Dec-03-2017, 09:18 PM
RE: IndentationError: expected an indented block - by python1980 - Dec-03-2017, 09:51 PM
RE: IndentationError: expected an indented block - by buran - Dec-03-2017, 10:00 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Need help with "IndentationError: expected an indented block" | hequ | 3 | 6,594 |
Mar-02-2020, 06:26 AM Last Post: Pranav |
|
IndentationError: unexpected indent | belikewater | 6 | 11,068 |
Oct-31-2017, 12:32 PM Last Post: metulburr |