How To Solve Python Typeerror Generator Object Is Not Subscriptable

How To Solve Python Typeerror Generator Object Is Not Subscriptable