subject

Every minute, the Amazon River discharges approximately 3 billion (3,000,000,000) gallons of water into the Atlantic Ocean. Write the header and body of a Python secondary function named compute_amazon_gallons that accepts (as parameters) a given measurement in hours and a given measurement in minutes, and then returns (as the functional value) the amount of water in gallons that the Amazon discharges into the Atlantic during that designated span of time. Recall that there are 60 minutes in an hour. Your Python code should not perform any user input or user output. You should not write any part of a Python program other than this secondary function header and body. In your Python code, be sure to include a function header comment and inline comments, to use correct syntax, to use the correct upper-case letters and lower-case letters, and to use good programming style and efficient programming

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:20
Write a pseudocode solution for each of these problems. 1. design a while loop that lets that user enter a number. the number should be multiplied by 10, and the result stored in a variable named product. the loop should iterate as long as product contains a value less than 100. 2. design a do-while loop that asks the user to enter two numbers. the numbers should be added and the sum displayed. the loop should ask the user whether he or she wishes to perform the operation again. if so, the loop should repeat; otherwise it should terminate. 3. design a for loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 100. 4. design a nested loop that displays 10 rows of # characters. there should be 15 # characters in each row. 5. convert this for loop to a while loop. declare integer count for count = 1 to 50 display count end for 6. find the error in the following pseudocode. declare boolean finished = false declare integer value, cube while not finished display “enter a value to be cubed.” input value; set cube = value ^ 3 display value, “ cubed is “, cube end while
Answers: 2
question
Computers and Technology, 22.06.2019 15:00
The three logical operators used to write compound conditions are "and," "or," and "not." a: true b: false
Answers: 2
question
Computers and Technology, 22.06.2019 18:40
Mariah was working on a multimedia presentation that included both video and audio files. the file was huge, and she wanted to send it to her coworker in another office. she needed to reduce the size of the file so that it could be transmitted faster. the utility she used to do this was
Answers: 2
question
Computers and Technology, 22.06.2019 21:00
So im doing this school challenge and the teachers said whats the average text a student gets a day so i need to get about 20 in a day but dont know how can you guys 2163371293
Answers: 2
You know the right answer?
Every minute, the Amazon River discharges approximately 3 billion (3,000,000,000) gallons of water i...
Questions
question
Mathematics, 06.03.2020 13:41
question
Advanced Placement (AP), 06.03.2020 13:42
question
Mathematics, 06.03.2020 13:44
question
Mathematics, 06.03.2020 13:44
Questions on the website: 13722367