πŸ“Š Problem Solving and Python Programming
Q. Recursion and iteration are the same programming approach.
  • (A) true
  • (B) false
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (B) false

Explanation: in recursion, the function calls itself till the base condition is reached whereas iteration means repetition of process for example in for-loops.


Explanation by: Mr. Dubey
in recursion, the function calls itself till the base condition is reached whereas iteration means repetition of process for example in for-loops.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
766
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate