Question: I must write apython script that runs over htttp.I have to write it in aterminal, it has to run through my school's server and I

I must write apython script that runs over htttp.I have to write it in aterminal, it has to run through my school's server and I have to attach a link once its finished. Please help me write the code that follows the following instructions and if possible please attach a screenshot of the code in an editor and the output screenshot as well. Thank you so much in advance.

  • Write a python script that runs over http. You may NOT use a separate html file for this lab.
  • Generate a form in a function that asks for 2 numbers and has 4 different submits. The submits will be labeled: Add, Subtract, Multiple and Divide.
  • If 'Add' is selected, only the sum of the two fields will beneatlyoutput.
  • If 'Subtract' is selected, only the difference of the two fields will beneatlyoutput.
  • If 'Multiply' is selected, only the product of the two fields will beneatlyoutput.
  • If 'Divide' is selected, only the division result of the two fields will beneatlyoutput.
  • All the numbers input and output are real numbers treated as floating point.
  • Choosing good labels and variables names is important.
  • You'll need to submit a link to the script that generates the form.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!