149k views
3 votes
in 15 words or fewer, simplify the chain of conditional statements shown above into a single sonditional statement ​

User Juanito
by
4.8k points

1 Answer

0 votes

Answer:

Python provides an alternative way to write nested selection such as the one shown in the previous section. This is sometimes referred to as a chained conditional. if x < y: print("x is less than y") elif x > y: print("x is greater than y") else: print("x and y must be equal")

Explanation:

Sorry but i cant see "Shown above" so i just said what the chain of conditional is :(

User Julio Montoya
by
3.9k points