• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu
0

Is my code similar to recursion

https://code.sololearn.com/c2p61Y1Ldu31/?ref=app

isit
25th Apr 2020, 4:15 AM
Jaisuriya
Jaisuriya - avatar
2 Réponses
+ 3
No, it is a loop. A recursive function is a function that calls itself. Check these examples: https://code.sololearn.com/W34vzvOE6bu1/?ref=app https://code.sololearn.com/ceu7V91HKbBT/?ref=app https://code.sololearn.com/c3eg8MvlATAf/?ref=app https://code.sololearn.com/cOInw4yJq7wi/?ref=app https://code.sololearn.com/wjqW3wmddv0X/?ref=app https://code.sololearn.com/cE7lXk0wwKMN/?ref=app https://code.sololearn.com/c4phTP2wUQ3u/?ref=app https://code.sololearn.com/cOfMIY803RdZ/?ref=app https://code.sololearn.com/c4Q0rFUFxZIP/?ref=app https://code.sololearn.com/cj7pAcAEmqTm/?ref=app
25th Apr 2020, 4:26 AM
Jesus Eduardo CanulK
Jesus Eduardo CanulK - avatar
+ 2
It's just a loop.
25th Apr 2020, 4:34 AM
Tarun Kumar
Tarun Kumar - avatar

Vous avez souvent des questions comme celle-ci ?

Apprenez de maniĂšre plus efficace, gratuitement :

  • Introduction Ă  Python

    7.1M apprenants

  • Introduction Ă  Java

    4.7M apprenants

  • Introduction Ă  C

    1.5M apprenants

  • Introduction Ă  HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
4 Votes
Python intermediate help with dictionaries
0 Votes
Marquee
1 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Any Advise?
1 Votes
RUST'S FUTURE
1 Votes
How far do courses go on Sololearn?
0 Votes
Popsacles Aufgabe
1 Votes
I'm about to make a complex calculator in python
0 Votes
Button In C++
1 Votes