I don't really know what you're asking, but I'm going to try to answer it anyway.
You want to have a function in python (you should add that to your tags) that is defined so that print_poly([coef0,coef1,...,coefn]) results in a polynomial:
coef0*x^(n)+coef1*x^(n-1)+...+coefn
try this:
def print_poly(list):
polynomial = ''
order = len(list)-1
for coef in list:
if coef is not 0 and order is 1:
term = str(coef) + 'x'
polynomial += term
elif coef is not 0 and order is 0:
term = str(coef)
polynomial += term
elif coef is not 0 and order is not 0 and order is not 1:
term = str(coef) + 'x^' + str(order)
polynomial += term
elif coef is 0:
pass
if order is not 0 and coef is not 0:
polynomial += ' + '
order += -1
print(polynomial)
There is your answer, but honestly you should try to go over python function definitions, boolean operators, and math operators on your own as it looks like you don't have a good grasp of them.
Boolean Operators - https://docs.python.org/3.1/library/stdtypes.html
Arithmetic - http://en.wikibooks.org/wiki/Python_Programming/Operators
Functions - http://en.wikibooks.org/wiki/Non-Programmer's_Tutorial_for_Python_3/Defining_Functions
And if you have the commitment:
Learn Python The Hard Way (http://learnpythonthehardway.org/)