Answered step by step
Verified Expert Solution
Question
1 Approved Answer
File Edit View Insert Cel Kernel Widgets Help Not Trusted Python 3 O + Run Markdown Instructions: Read each question carefully and type the program
File Edit View Insert Cel Kernel Widgets Help Not Trusted Python 3 O + Run Markdown Instructions: Read each question carefully and type the program to answer each question in the empty cell after that. Provide appropriate documentation of your code wherever possible. Submit the assignment in the IPython document file notebook lipynb) format. You can save this .ipynb notebook after writing your code on the appropriate cells below and rename it as Assignment2_xxx.ipynb, where XXX is your last name. Upload the renamed notebook in the dropbox on - learning. Question 1 (30 points): The Fast Freight Shipping Company charges the following rates: Weight of Package 2 pounds or less Over 2 pounds but not more than 6 pounds Over 6 pounds but not more than 10 pounds Over 10 pounds Rate per Pound $1.50 $3.00 $4.00 $4.75 Write a program that asks the user to enter the weight of a package (float or integer) and then displays the Shipping charges (Use if-elf decision structure to answer this question). Sample cutput: Enter the weight of the package: 18 Shipping charge: $4.ee In [1]: ****Question ? Code: Question 2 (30 points): Write a program that asks the user to enter five test scores (use an appropriate loop). The program should display a letter grade for each score and the verge test score is an appropriate loco). MAR 10 W File Edit View Insert Cel Kernel Widgets Help Not Trusted Python 3 O + Run C Markdown Question 2 (30 points): Write a program that asks the user to enter five test scores (use an appropriate loop). The program should display a letter grade for each score and the average test score (use an appropriate loop). Score Letter Grade 90-100 A 80-89 B 70-79 60-69 D Below 60 F Sample Output: Enter score 1: 88 Enter score 2: 79.5 Enter score 3: 86.9 Enter score 4: 95.7 Enter score 5: 65.3 score numeric grade letter grade score 1 : score 2: score 3: score 4 score 5: 88.0 79.5 86.9 95.7 65.3 B C B D Average score: 83.88eeeeeeeee881 In (3): Question 2 Code: MAR 10 w
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started