Why is this code wrong? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is this code wrong?

https://sololearn.com/coach/1447766083/?ref=app As the result is hidden, I can’t see why the code is wrong.

8th Sep 2023, 6:35 PM
Tomos Butarbutar
4 Answers
+ 2
Please provide the task details as the provided link cannot be accessed.
8th Sep 2023, 7:02 PM
Chris Coder
Chris Coder - avatar
+ 1
Thanks Chris, I’ve solved it now. The expected result needs to be unpacked, using * before the set name solves the issue.
8th Sep 2023, 7:13 PM
Tomos Butarbutar
0
You are working on a recruitment platform, which should match the available jobs and the candidates based on their skills. The skills required for the job, and the candidate's skills are stored in sets. Complete the program to output the matched skill.
8th Sep 2023, 7:07 PM
Tomos Butarbutar
0
My code: skills = {'Python', 'HTML', 'SQL', 'C#', 'Java', 'Scala'} job_skills = {'HTML', 'CSS', 'JS', 'C++', 'NodeJS'} print(skills & job_skills)
8th Sep 2023, 7:07 PM
Tomos Butarbutar