Function Object Is Not Subscriptable Meaning In Python