Question: Using a single one-way decision structure (i.e., an if structure with no else part), some relational operators and some logical operators (i.e., and, or,

Using a single one-way decision structure (i.e., an if structure with no else part), some relational operators and some logical operators (i.e., and, or, not) as needed, write a Python program that obtains the weight of a box as input and prints The box is pretty heavy. if the weight of the box is greater than or equal to 70.0, or prints The box is pretty not too heavy. For example, the input prompts, input (shown in bold blue) and corresponding output from the program could be as follows: Enter the weight of the box: 70 The box is pretty heavy. Another example: Enter the weight of the box: 69.9 The box is pretty not too heavy.
Step by Step Solution
There are 3 Steps involved in it
Here is a Python program that takes the weight of a box as input and prin... View full answer
Get step-by-step solutions from verified subject matter experts
