Write a python program via script file that: LOOK AT INSTRUCTIONS

profilePluto23

 

Write a function that:

1. Takes two arguments and returns the product of the arguments. The return value should be of type integer.

2. Takes two arguments and returns the quotient of the arguments. The return value should be  of type float.

3. Takes one argument and squares the argument. It then uses the two values and returns the product of the two arguments.(Reuse function in 1.)

4. Takes one argument and prints the argument. Use this function to return the values in all previous 3 definitions above.

Call all your functions to show they work. You can use any arguments you choose to demonstrate this.

    • 7 years ago
    • 20
    Answer(1)

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      111.jpeg
    • attachment
      Code.docx
    • attachment
      free.py