2. Assume Python code that has assigned each of the Python…
2. Assume Python code that has assigned each of the Python variables x, y and z to some int value. a. Write a nested conditional statement that:(a) prints “yes” if x is greater than y and y is greater than z, (b) prints “no” if y is greater than x and x is greater than z, and (c) prints “maybe” if neither of the above conditions is true. You cannot use bool operators, nor can you use elif. b. Same as a. but instead write a chained conditional statement. Here, you may use bool operators but NO nested if-else statements.