Ask Question

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

+1
Answers (1)
  1. 10 October, 07:38
    0
    nest an else clause within an elif clause

    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.
Know the Answer?