Ello!♥️
What is the main difference between iteration and recursion in Python language?
#mighty₱rince⚡
Answers
Answered by
4
Answer:
HERE IS YOUR ANS MATE..
Explanation:
THEY BOTH ARE USED TO EXECUTE SET OF INSTRUCTIONS REPEATEDLY....
DIFFERENCE IS......
-RECURSION IS THE METHOD IN THE METHOD BEING CALLED IS THE SAME AS THE ONE MAKING THE CALL....
-ITERATION IS WHEN A LOOP IS REPEATEDLY EXECUTED UNTIL A CERTAIN CONDITION IS MET...
HOPE IT WILL HELPS YOU....
Answered by
6
Answer:
Hello @mightyprince!❤️
Explanation:
⏩Recursion refers to a situation where a function calls itself again and again until some base condition is not reached. Iteration refers to a situation where some statements are executed again and again using loops until some condition is true.
#Thankyou!
Similar questions