Question: this is a python code Question 2 Using a single one-way decision structure (i.e., an if structure with no else part), some relational operators and
this is a python code

Question 2 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), write a program that reads three integers and prints Numbers are in strict order if the numbers are sorted in either strictly ascending or strictly descending order, or prints Numbers are not in strict order if the numbers are not in sorted order or there are repeated numbers which violate the "strictly" ascending or descending requirement. For example, if the values entered are 3, 3 and 5, then the program should print Numbers are not in strict order Another example, if the values entered are 7,5 and 2, then the program should print Numbers are in strict order Call the file containing your program, singleIf.py
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
