I'm getting an weird error, but only on sololearn... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
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