Question: - Write an if - else statement that outputs the word Warning provided that either the value of the variable temperature is greater than or

-Write an if-else statement that outputs the word Warning provided that either the value of the variable temperature is greater than or equal to 45, or the value of the variable pressure is greater than or equal to 70, or both. Otherwise, the if_else statement outputs the word OK. The variables are of type float. *use Python* and make it simple
- Write an if - else statement that outputs the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!