Getting Exception Typeerror Function Object Is Not Subscriptable

Getting Exception Typeerror Function Object Is Not Subscriptable