get key[i] where key is a tuple
i (int) – index of key or -1 for not having the element.
key (tuple) – tuple as a key for Poly.
key[i] if i in range(len(k)), otherwise 0.
int