'await' outside function error
abriani434 (2)

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
InvisibleOne (3264)

To use await, it needs to be inside of an asynchronous function, this will give you an error:

but this won't: