Aug-02-2020, 07:31 PM
# do nothing
is not a statement. It is a comment. Python needs a statement after the if. Use pass
Indentation Error With If Else Statement
|
|
Messages In This Thread |
Indentation Error With If Else Statement - by JoeDainton123 - Aug-02-2020, 07:26 PM
RE: Indentation Error With If Else Statement - by Gribouillis - Aug-02-2020, 07:31 PM
RE: Indentation Error With If Else Statement - by JoeDainton123 - Aug-02-2020, 08:02 PM
RE: Indentation Error With If Else Statement - by deanhystad - Aug-02-2020, 08:29 PM
|