On 11/10/2022 10.48, Kevin M. Wilson via Python-list wrote:
C:\Users\kevin\PycharmProjects\Myfuturevalue\venv\Scripts\python.exe C:\Users\kevin\PycharmProjects\Myfuturevalue\FutureValueCal.py File "C:\Users\kevin\PycharmProjects\Myfuturevalue\FutureValueCal.py", line 31 elif (years > 50.0) or (years < 1.0) : ^IndentationError: expected an indented block after 'if' statement on line 29 Process finished with exit code 1
Indentation depends upon what went before, as well as what is being indented 'right now'.
As you can see from the reproduction of the OP (above), any comment on formatting would be a guess.
Please copy-paste the entire block of the if-statement and its nested suites...
(this list will not pass-along images) -- Regards, =dn -- https://mail.python.org/mailman/listinfo/python-list