So Apparently pass can't be used with If statements but ... can
for example, here, the python interpreter will not accept the if pass: statement
while True:
if pass :
continue
else:
break
i get syntax error
if pass :
^^^^
SyntaxError: invalid syntax
Process finished with exit code 1
but using ... it works.
while True:
if ... :
continue
else:
break
which leads me to believe that ... has more use cases where pass would fail
I don't know why and I don't know if there are more scenarios like this but i bet there is, and if anyone can explain why this happens and if there's more scenarios like it that would be great.