Typeerror Int Object Is Not Subscriptabl