'await' outside function error
abriani434

I've encountered a very frustrating delay. I'm using the python environment and I'm having an error saying "SyntaxError: 'await' outside function". Does anyone know how to fix this?

You are viewing a single comment. View All
Coder100

The reason why you have the error is because you unindented, so it was outside of an async function.