For term Cix^Pi, if the coefficient of the term Ci is 1, print x^Pi instead of 1x^Pi.this condititon is not giving result for this code?
#read ci Ci=int(input("Enter Ci: ")) #display result if Ci==1: print(f"x^Pi") else: print(f"{Ci}x^Pi")
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment