Algorithms - Find the Symmetric Difference

Tell us what’s happening:

Describe your issue in detail here.
I want to practice problems from the coding interview prep or project euler,but the code is allowed only in JS. How do i write python code to solve the problems?Can you help me with this please?

Your code so far

function sym(args) {
  return args;
}

sym([1, 2, 3], [5, 2, 1, 4]);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0

Challenge Information:

Algorithms - Find the Symmetric Difference

You can’t write in Python for these Challenges.

Oh no,then I can’t participate in it. Are there others where I can? Thank you for letting me know.

You can still do those in Python if you want, on your own. You just won’t be able to submit to freeCodeCamp or run the test suites. It would be even more impressive if you wrote your own tests in Python, just like this person did: https://forum.freecodecamp.org/t/basic-algorithms-but-in-python/622797

https://forum.freecodecamp.org/t/intermediate-algorithms-in-python/625294

Project Euler doesn’t require a specific language afaik: https://projecteuler.net/about

1 Like

Thankyou for sharing this! Really appreciate it

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.