Question: Python Program Part B - Postal Rates Here are the actual Canada Post postage rates for standard and non-standard or oversize envelopes to be delivered
Python Program

Part B - Postal Rates Here are the actual Canada Post postage rates for standard and non-standard or oversize envelopes to be delivered to the U.S.A. or Canada: USA $1.20 $1.80 USA $2.95 $5.15 Standard Letter Canada $0.85 $1.20 Canada $1.80 $2.95 $4.10 $4.70 $5.05 Up to 30 g Over 30 g up to 50g Other Letter Up to 100 g Over 100 g up to 200 g Over 200 g up to 300 g Over 300 g up to 400 g Over 400 g up to 500 g $10.30 The user must enter "USA" or "Canada" for the destination country - your program must treat any other entry as an error. The user can enter "y'", when prompted, if the envelope is of a standard size - any other entry means "other". Hee can supply a number for the weight which must lie between O and 500 grams, unless the envelope is of standard size, where the weight must be less than or equal to 50 grams. If the user enters a weight over 50 grams for a standard envelope, change the envelope size to non-standard and continue on after telling the user that this is what you are doing Your program for this part must obtain these three pieces of information and then output the postage rate
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
