Question: Can anyone help me with number 3 please? This problem has nothing to do with computers or Python (except that it involves an algorithm, which
Can anyone help me with number 3 please? 
This problem has nothing to do with computers or Python (except that it involves an algorithm, which computer programs also use). It should be answered in the same way that we answered the "which number is larger question on the first day of class: as a detailed set of directions for humans to follow. If you use the words "variable" or "print", you're not answering the question.) Given any price under one dollar, give a (practical) algorithm that determines the number of quarters, dimes, nickels, and pennies one should use to make that price. This means: describe the steps, in order, USING ENGLISH -NOT CODE!. Every cashier uses this algorithm everyday, and most of them don't know Python: describe their thought process, but be precise about how you describe it. Make sure that your algorithm works for any input! This problem has nothing to do with computers or Python (except that it involves an algorithm, which computer programs also use). It should be answered in the same way that we answered the "which number is larger" question on the first day of class: as a detailed set of directions for humans to follow. If you use the words "variable" or "print", you're not answering the question.) Suppose that three people are throwing a joint party. Each person has a list of people they want to invite, and the lists overlap. They need to know how many people to expect, and so they want to know how many people they will be inviting in total, without counting names twice. Describe an algorithm, in precise detail, which will allow them to find the correct number of people they will be inviting in total, without the use of a computer. (It's ok if the process you describe would be very tedious to carry out in practice.) List the errors in each of the following programs, which attempt to multiply a length and a width to display the area of a rectangle. (Try to do it first without executing: then check by entering the code into your development environment to see if you caught everything.) a. w = 15 l = 5 Area = l*w print("The area is") print("Area")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
