An Integer Type Object Is Not Subscriptable