• Re: Help, PyCharm fails to recognize my tab setting...See attached pict

    From dn@21:1/5 to Kevin M. Wilson via Python-list on Wed Oct 12 18:19:15 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)