174k views
4 votes
Which of the following is not an acceptable way to code a nested structure? Select one: a. nest a for loop inside a while loop b. nest an else clause within an elif clause c. nest an if statement inside a for loop d. nest a while loop inside an elif clause

User Phyatt
by
7.3k points

1 Answer

1 vote

Answer:

nest an else clause within an elif clause

Step-by-step explanation:

in python Programming, we cannot nest an else clause within an elif clause. elif is actually else if condition. we cannot nest another else with in elif clause.

User Fitzi
by
7.1k points