3 ms·
There's no 'as' in Python if or while statements, only with. >>> if True as a: File "<stdin>", line 1 if True as a: ^^ Sy
by memefrog 3y ago
There's no 'as' in Python if or while statements, only with.
>>> if True as a:
File "<stdin>", line 1
if True as a:
^^
SyntaxError: invalid syntax
- mixmastamyk 3y agoIndeed. Coulda been.