R.<x> = QQ[]K = NumberField(x^2+2, "k")pK = pari(K)print("pK:",pK) #uses variable "y"S.<t> = K[]g = t^3 + 2pg = pari(g)print("pg:",pg)