I'm getting an weird error, but only on sololearn... | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

I'm getting an weird error, but only on sololearn...

In these two codes: https://code.sololearn.com/WK2JjDoYhYTi/?ref=app https://code.sololearn.com/W0wM0T8Ik9fW/?ref=app These two codes work on my Computer and My Phone on other editors, but not sololearn... can someone help me?? šŸ˜…šŸ˜… In the codes objects get copied to find different molecules, the error happens when the submit button is pressed.

12th Jun 2019, 9:33 PM
Anton Bƶhler
Anton Bƶhler - avatar
2 Respostas
12th Jun 2019, 9:57 PM
Anton Bƶhler
Anton Bƶhler - avatar
+ 1
the first code is iterative the second recursive (second easier to understand the logic... šŸ˜…) and it has nothing to do with the function name, since I changed it in the second code...
12th Jun 2019, 9:35 PM
Anton Bƶhler
Anton Bƶhler - avatar