Question: we are using python language and just covered if,elif,else statements and for loops. i tried to produce if statements for part IV but im not
we are using python language and just covered if,elif,else statements and for loops. i tried to produce if statements for part IV but im not getting the correct return values and im not sure where i'm going wrong


Part IV: Print Job Cost Calculator (20 points) Write a function print.cost () that takes one argument, task, which is a list of three elements 1. The first element is a string that represents the size of the paper used Paper Size (string) Cost per Sheet ($) Letter' Legal' A4 A5 0.05 0.06 0.055 0.04 2The second element is a string that represents the color of the printing. This cost is added to the cost of the paper itself Printing Type (string) Cost per Sheet ($) Gray Scale Colored' 0.01 0.10 3. The third element is an integer that represents the quantity of paper used for the print job. The function computes and returns the total cost of the current printing job. Note: You may assume that all function arguments will be valid (e.g., no negative values, invalid paper sizes, etc.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
