high on Essays logo

Our Services

Get 15% Discount on your First Order

Week 4 Discussion: 1. Write a function with two arguments that computes a value based on the input parameters and returns the result, e.g. compute Volume (r, h). Write a main program that prompts the

Week 4 Discussion:

1. Write a function with two arguments that computes a value based on the input parameters and returns the result, e.g. compute Volume (r, h). Write a main program that prompts the user for two numeric values, calls the function with two input values as argument and displays the result it returns. Post your code as an attachment (.py file) and post a screenshot of executing your program on at least one test case.

Be sure to create a program different from any of the programs already posted by your classmates

2. Reply to another student’s post. Modify that student’s program changing the calculation performed within the function. Document the code with a comment describing the change. Post your modified code as an attachment (.py file) and post a screenshot of executing your program on at least one test case.

Please the attachment below

– Xavier Johnson

– Carliena Rivera

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit
Reviews

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Week8_Test Plan Instructions: The Test Plan for each project includes the Pseudocode, Flowchart, Goals and Objectives, Functional Requirements, and Test

Week8_Test Plan Instructions: The Test Plan for each project includes the Pseudocode, Flowchart, Goals and Objectives, Functional Requirements, and Test Matrix including Actual Output column.  Below the table are screenshots verifying the actual output for each case. Note:  Your programming projects should be submitted in the Revel environment for grading. Week

Week 4: Instructions: The Test Plan for each project includes the Pseudocode, Flowchart, Goals and Objectives, Functional Requirements, and Test Matrix

Week 4: Instructions: The Test Plan for each project includes the Pseudocode, Flowchart, Goals and Objectives, Functional Requirements, and Test Matrix including Actual Output column.  Below the table are screenshots verifying the actual output for each case. Week 4 Notes – Mathematical Functions;  Characters and Strings Recalling our Week 3