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

asked
User Juanito
by
9.0k 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 :(

answered
User Julio Montoya
by
7.4k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.