Ask Question
27 April, 19:08

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. 27 April, 19:10
    0
    D is the answer to the question
Know the Answer?
Not Sure About the Answer?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers