Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions

Question

6-26. No prob; happy2help!

Answered: 1 week ago

Question

=+ 4. How can policymakers infl uence a nations saving rate?

Answered: 1 week ago