How To Run Async Function In Python Syntax If Else Statement