An ìf works fine as single line statement, like this:
if True: print('OK')
However, if that is given as statement to another single line if, it generates a syntax error, as for:
if True: if True: print('Breaks with "SyntaxError: invalid syntax"')
Why is this construction a syntax error?