0

enter image description here

enter image description here

Please find the images below. When i try to execute quote, it renders me the following error shown in the 2nd image.

0

The red dot in the application.py tab indicates it is not saved so that is not the source that is executing. Assuming it gets to the else, nothing happens, nothing is returned. It defines a function, full stop. The cost route needs to be defined in application.py, then you can
return render_template("cost.html"......

0

Delete line 133, 134. You only need to write below code in the else part.

return render_template("cost.html", cost=quote["price"])

Try this .I think this should work .

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .