Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Android Graphics

Authors: Wallace Jackson

1st Edition

1430257857, 978-1430257851

More Books

Students also viewed these Programming questions

Question

What are three disadvantages of using the direct write-off method?

Answered: 1 week ago