Ask Question
18 November, 23:37

Why is the len () function useful when using a loop to iterate through a stack?

A. The len () function will print the elements of the stack.

B. The len () function will run with each iteration, printing the element number each time.

C. The len () function will tell the program the number of elements in the stack.

D. The len () function will remove the duplicate elements in the stack.

+2
Answers (1)
  1. 19 November, 00:46
    0
    D is the answer to the question
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Why is the len () function useful when using a loop to iterate through a stack? A. The len () function will print the elements of the ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers